We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 984b36e commit a7a8682Copy full SHA for a7a8682
src/procedural-macros.md
@@ -234,8 +234,8 @@ shown in the comments after the function prefixed with "out:".
234
235
#[proc_macro_attribute]
236
pub fn show_streams(attr: TokenStream, item: TokenStream) -> TokenStream {
237
- println!("attr: \"{}\"", attr.to_string());
238
- println!("item: \"{}\"", item.to_string());
+ println!("attr: \"{attr}\"");
+ println!("item: \"{item}\"");
239
item
240
}
241
```
0 commit comments