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 @@ -170,7 +170,7 @@ 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
172
type using ` ast.ident ` . The ` quote! ` macro lets us write up the Rust code
173
- that we wish to return and convert it into ` Tokens ` . ` quote! ` let's us use some
173
+ that we wish to return and convert it into ` Tokens ` . ` quote! ` lets 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
176
176
similar to regular macros work. You should check out the
You can’t perform that action at this time.
0 commit comments