File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -323,10 +323,10 @@ The `hello_macro_derive` function first converts the `input` from a
323323` TokenStream ` to a data structure that we can then interpret and perform
324324operations on. This is where ` syn ` comes into play. The ` parse ` function in
325325` syn ` takes a ` TokenStream ` and returns a ` DeriveInput ` struct representing the
326- parsed Rust code. Listing 20-40 shows the relevant parts of the ` DeriveInput `
326+ parsed Rust code. Listing 20-41 shows the relevant parts of the ` DeriveInput `
327327struct we get from parsing the ` struct Pancakes; ` string.
328328
329- <Listing number =" 20-40 " caption =" The `DeriveInput` instance we get when parsing the code that has the macro’s attribute in Listing 20-37 " >
329+ <Listing number =" 20-41 " caption =" The `DeriveInput` instance we get when parsing the code that has the macro’s attribute in Listing 20-37 " >
330330
331331``` rust,ignore
332332DeriveInput {
You can’t perform that action at this time.
0 commit comments