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 {
1276
1276
/// The file name is derived from the crate root's source path passed to the Rust compiler
1277
1277
/// and the sequence the compiler takes to get from the crate root to the
1278
1278
/// 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
1280
1280
/// directory will be the working directory of the Rust compiler. For example, if the source
1281
1281
/// path passed to the compiler is `./src/lib.rs` which has a `mod foo;` with a source path of
1282
1282
/// `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