File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -543,13 +543,13 @@ impl Span {
543
543
/// The path to the source file in which this span occurs, for display purposes.
544
544
///
545
545
/// This might not correspond to a valid file system path.
546
- /// It might be remapped, or might be an artificial path such as `"<macro expansion >"`.
546
+ /// It might be remapped (e.g. `"/src/lib.rs"`) or an artificial path (e.g. `"<command line >"`) .
547
547
#[ stable( feature = "proc_macro_span_file" , since = "CURRENT_RUSTC_VERSION" ) ]
548
548
pub fn file ( & self ) -> String {
549
549
self . 0 . file ( )
550
550
}
551
551
552
- /// The path to the source file in which this span occurs on disk .
552
+ /// The path to the source file in which this span occurs on the local file system .
553
553
///
554
554
/// This is the actual path on disk. It is unaffected by path remapping.
555
555
///
You can’t perform that action at this time.
0 commit comments