Skip to content

Commit c182007

Browse files
Update library/core/src/macros/mod.rs
Co-authored-by: Jubilee <[email protected]>
1 parent 91fd61f commit c182007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/macros/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ pub(crate) mod builtin {
12761276
/// The file name is derived from the crate root's source path passed to the Rust compiler
12771277
/// and the sequence the compiler takes to get from the crate root to the
12781278
/// module containing `file!`, modified by any flags passed to the Rust compiler (e.g.
1279-
/// `--remap-path-prefix`). If the root module's source path is relative, the initial base
1279+
/// `--remap-path-prefix`). If the crate's source path is relative, the initial base
12801280
/// directory will be the working directory of the Rust compiler. For example, if the source
12811281
/// path passed to the compiler is `./src/lib.rs` which has a `mod foo;` with a source path of
12821282
/// `src/foo/mod.rs`, then calling `file!` inside `mod foo;` will return `./src/foo/mod.rs`.

0 commit comments

Comments
 (0)