Skip to content

Commit 73f7cba

Browse files
authored
Merge pull request #611 from yvt/patch-2
Fix example code of derive macro
2 parents 862b669 + b111c47 commit 73f7cba

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)