Skip to content

Commit

Permalink
remove claim that $crate is a single identifier
Browse files Browse the repository at this point in the history
Fixes #30217.
  • Loading branch information
durka committed Dec 16, 2015
1 parent 9e63cec commit 74c384b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/doc/book/macros.md
Expand Up @@ -611,8 +611,7 @@ to define a single macro that works both inside and outside our library. The
function name will expand to either `::increment` or `::mylib::increment`.

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

# The deep end

Expand Down

0 comments on commit 74c384b

Please sign in to comment.