Skip to content

Commit 74c384b

Browse files
committed
remove claim that $crate is a single identifier
Fixes #30217.
1 parent 9e63cec commit 74c384b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/doc/book/macros.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,7 @@ to define a single macro that works both inside and outside our library. The
611611
function name will expand to either `::increment` or `::mylib::increment`.
612612

613613
To keep this system simple and correct, `#[macro_use] extern crate ...` may
614-
only appear at the root of your crate, not inside `mod`. This ensures that
615-
`$crate` is a single identifier.
614+
only appear at the root of your crate, not inside `mod`.
616615

617616
# The deep end
618617

0 commit comments

Comments
 (0)