File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ So this is where quotes comes in. The `ast` argument is a struct that gives us
169
169
a representation of our type (which can be either a ` struct ` or an ` enum ` ).
170
170
Check out the [ docs] ( https://docs.rs/syn/0.10.5/syn/struct.MacroInput.html ) ,
171
171
there is some useful information there. We are able to get the name of the
172
- type using ` ast.ident ` . The ` quote! ` macro let's us write up the Rust code
172
+ type using ` ast.ident ` . The ` quote! ` macro let us write up the Rust code
173
173
that we wish to return and convert it into ` Tokens ` . ` quote! ` let's us use some
174
174
really cool templating mechanics; we simply write ` #name ` and ` quote! ` will
175
175
replace it with the variable named ` name ` . You can even do some repetition
You can’t perform that action at this time.
0 commit comments