File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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`.
You can’t perform that action at this time.
0 commit comments