diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2025-04-30 15:14:20 +0200 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2025-04-30 15:28:45 +0200 |
| commit | 2a053c7a1532da2d8f60ac5a8f92b3e4e80d82d5 (patch) | |
| tree | 3ec42376d726fc7fe78e7c2a40e2cea48365914d | |
| parent | d6ae459af8da8f5c751ad5cd8765a48778e419bb (diff) | |
| download | rust-2a053c7a1532da2d8f60ac5a8f92b3e4e80d82d5.tar.gz rust-2a053c7a1532da2d8f60ac5a8f92b3e4e80d82d5.zip | |
Update doc comments.
| -rw-r--r-- | library/proc_macro/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/proc_macro/src/lib.rs b/library/proc_macro/src/lib.rs index 7dbb9dadd88..79e9b8430b8 100644 --- a/library/proc_macro/src/lib.rs +++ b/library/proc_macro/src/lib.rs @@ -543,13 +543,13 @@ impl Span { /// The path to the source file in which this span occurs, for display purposes. /// /// This might not correspond to a valid file system path. - /// It might be remapped, or might be an artificial path such as `"<macro expansion>"`. + /// It might be remapped (e.g. `"/src/lib.rs"`) or an artificial path (e.g. `"<command line>"`). #[stable(feature = "proc_macro_span_file", since = "CURRENT_RUSTC_VERSION")] pub fn file(&self) -> String { self.0.file() } - /// The path to the source file in which this span occurs on disk. + /// The path to the source file in which this span occurs on the local file system. /// /// This is the actual path on disk. It is unaffected by path remapping. /// |
