Skip to content

Commit b111c47

Browse files
authored
Fix an uncompilable example of derive macro
1 parent 862b669 commit b111c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/procedural-macros.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ For example, the following derive macro defines a helper attribute
173173
174174
#[proc_macro_derive(HelperAttr, attributes(helper))]
175175
pub fn derive_helper_attr(_item: TokenStream) -> TokenStream {
176-
TokenStream::new();
176+
TokenStream::new()
177177
}
178178
```
179179

0 commit comments

Comments
 (0)