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`).
170170Check out the [ docs] ( https://docs.rs/syn/0.10.5/syn/struct.MacroInput.html ) ,
171171there is some useful information there. We are able to get the name of the
172172type 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
174174really cool templating mechanics; we simply write ` #name ` and ` quote! ` will
175175replace it with the variable named ` name ` . You can even do some repetition
176176similar to regular macros work. You should check out the
You can’t perform that action at this time.
0 commit comments