File tree Expand file tree Collapse file tree 14 files changed +17
-18
lines changed Expand file tree Collapse file tree 14 files changed +17
-18
lines changed Original file line number Diff line number Diff line change 1616// https://github.com/dtolnay/syn
1717//
1818// - The DeriveInput syntax tree which represents input of a derive macro:
19- // https://docs.rs/syn/1 .0/syn/struct.DeriveInput.html
19+ // https://docs.rs/syn/2 .0/syn/struct.DeriveInput.html
2020//
2121// - An example of a derive macro implemented using Syn:
2222// https://github.com/dtolnay/syn/tree/master/examples/heapsize
Original file line number Diff line number Diff line change 4040// https://github.com/dtolnay/quote
4141//
4242// - Joining together the type name + "Builder" to make the builder's name:
43- // https://docs.rs/syn/1 .0/syn/struct.Ident.html
43+ // https://docs.rs/syn/2 .0/syn/struct.Ident.html
4444
4545use derive_builder:: Builder ;
4646
Original file line number Diff line number Diff line change 2525//
2626// Resources:
2727//
28- // - Relevant syntax tree types :
28+ // - Relevant syntax tree type :
2929// https://docs.rs/syn/2.0/syn/struct.Attribute.html
3030
3131use derive_builder:: Builder ;
Original file line number Diff line number Diff line change 1212// https://doc.rust-lang.org/std/macro.compile_error.html
1313//
1414// - Lowering a syn::Error into an invocation of compile_error:
15- // https://docs.rs/syn/1 .0/syn/struct.Error.html#method.to_compile_error
15+ // https://docs.rs/syn/2 .0/syn/struct.Error.html#method.to_compile_error
1616
1717use derive_builder:: Builder ;
1818
Original file line number Diff line number Diff line change 99// Resources:
1010//
1111// - The DeriveInput syntax tree which represents input of a derive macro:
12- // https://docs.rs/syn/1 .0/syn/struct.DeriveInput.html
12+ // https://docs.rs/syn/2 .0/syn/struct.DeriveInput.html
1313//
1414// - An example of a derive macro implemented using Syn:
1515// https://github.com/dtolnay/syn/tree/master/examples/heapsize
Original file line number Diff line number Diff line change 1515//
1616// Resources:
1717//
18- // - Relevant syntax tree types:
19- // https://docs.rs/syn/1.0/syn/struct.Attribute.html
20- // https://docs.rs/syn/1.0/syn/enum.Meta.html
18+ // - Relevant syntax tree type:
19+ // https://docs.rs/syn/2.0/syn/struct.Attribute.html
2120//
2221// - Macro for applying a format string to some runtime value:
2322// https://doc.rust-lang.org/std/macro.format_args.html
Original file line number Diff line number Diff line change 1010// Resources:
1111//
1212// - Representation of generics in the Syn syntax tree:
13- // https://docs.rs/syn/1 .0/syn/struct.Generics.html
13+ // https://docs.rs/syn/2 .0/syn/struct.Generics.html
1414//
1515// - A helper for placing generics into an impl signature:
16- // https://docs.rs/syn/1 .0/syn/struct.Generics.html#method.split_for_impl
16+ // https://docs.rs/syn/2 .0/syn/struct.Generics.html#method.split_for_impl
1717//
1818// - Example code from Syn which deals with type parameters:
1919// https://github.com/dtolnay/syn/tree/master/examples/heapsize
Original file line number Diff line number Diff line change 1717// Resources:
1818//
1919// - The relevant types in the input will be represented in this syntax tree
20- // node: https://docs.rs/syn/1 .0/syn/struct.TypePath.html
20+ // node: https://docs.rs/syn/2 .0/syn/struct.TypePath.html
2121
2222use derive_debug:: CustomDebug ;
2323use std:: fmt:: Debug ;
Original file line number Diff line number Diff line change 1515// Resources:
1616//
1717// - Parsing in Syn:
18- // https://docs.rs/syn/1 .0/syn/parse/index.html
18+ // https://docs.rs/syn/2 .0/syn/parse/index.html
1919//
2020// - An example of a function-like procedural macro implemented using Syn:
2121// https://github.com/dtolnay/syn/tree/master/examples/lazy-static
Original file line number Diff line number Diff line change 1818// Resources:
1919//
2020// - Example of creating a new Ident from a string:
21- // https://docs.rs/syn/1 .0/syn/struct.Ident.html
21+ // https://docs.rs/syn/2 .0/syn/struct.Ident.html
2222
2323use seq:: seq;
2424
You can’t perform that action at this time.
0 commit comments