From 74c384bc8efcd17b28688f94cdae5500d7f1d1bf Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Tue, 15 Dec 2015 20:26:10 -0500 Subject: [PATCH] remove claim that $crate is a single identifier Fixes #30217. --- src/doc/book/macros.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/doc/book/macros.md b/src/doc/book/macros.md index f7f27858cd240..7d8284608e189 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