We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5325fe0 commit efc8cfdCopy full SHA for efc8cfd
compiler/rustc_macros/src/lib.rs
@@ -45,7 +45,8 @@ pub fn symbols(input: TokenStream) -> TokenStream {
45
/// goes into the parenthesized args of the macro, for greppability.
46
/// For example:
47
/// ```
48
-/// #[rustc_macros::extension(pub trait Foo)]
+/// use rustc_macros::extension;
49
+/// #[extension(pub trait Foo)]
50
/// impl i32 { fn hello() {} }
51
52
///
0 commit comments