File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -543,13 +543,13 @@ impl Span {
543543 /// The path to the source file in which this span occurs, for display purposes.
544544 ///
545545 /// 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 >"`) .
547547 #[ stable( feature = "proc_macro_span_file" , issue = "CURRENT_RUSTC_VERSION" ) ]
548548 pub fn file ( & self ) -> String {
549549 self . 0 . file ( )
550550 }
551551
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 .
553553 ///
554554 /// This is the actual path on disk. It is unaffected by path remapping.
555555 ///
You can’t perform that action at this time.
0 commit comments