diff options
| author | Alex Burka <durka42+github@gmail.com> | 2015-12-15 20:26:10 -0500 |
|---|---|---|
| committer | Alex Burka <durka42+github@gmail.com> | 2015-12-15 20:26:10 -0500 |
| commit | 74c384bc8efcd17b28688f94cdae5500d7f1d1bf (patch) | |
| tree | 5cbf2fcb5849d1d002eae82315406c0c005c8282 /src | |
| parent | 9e63cecb10a3a22abed9c230c5daf268dc258bf3 (diff) | |
| download | rust-74c384bc8efcd17b28688f94cdae5500d7f1d1bf.tar.gz rust-74c384bc8efcd17b28688f94cdae5500d7f1d1bf.zip | |
remove claim that $crate is a single identifier
Fixes #30217.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/book/macros.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/doc/book/macros.md b/src/doc/book/macros.md index f7f27858cd2..7d8284608e1 100644 --- a/src/doc/book/macros.md +++ b/src/doc/book/macros.md @@ -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 |
