Sitelet https://github.com/dtolnay/syn/commit/d42254637328b6b2f8e55d139283f1c5415b2a9b
Skip to content

Commit d422546

Browse files
committed
Merge pull request 1469 from billy1624/point-to-latest-docs
2 parents db3381a + f052630 commit d422546

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ contains some APIs that may be useful more generally.
3939
procedural macros enable only what they need, and do not pay in compile time
4040
for all the rest.
4141

42-
[`syn::File`]: https://docs.rs/syn/1.0/syn/struct.File.html
43-
[`syn::Item`]: https://docs.rs/syn/1.0/syn/enum.Item.html
44-
[`syn::Expr`]: https://docs.rs/syn/1.0/syn/enum.Expr.html
45-
[`syn::Type`]: https://docs.rs/syn/1.0/syn/enum.Type.html
46-
[`syn::DeriveInput`]: https://docs.rs/syn/1.0/syn/struct.DeriveInput.html
47-
[parser functions]: https://docs.rs/syn/1.0/syn/parse/index.html
42+
[`syn::File`]: https://docs.rs/syn/2.0/syn/struct.File.html
43+
[`syn::Item`]: https://docs.rs/syn/2.0/syn/enum.Item.html
44+
[`syn::Expr`]: https://docs.rs/syn/2.0/syn/enum.Expr.html
45+
[`syn::Type`]: https://docs.rs/syn/2.0/syn/enum.Type.html
46+
[`syn::DeriveInput`]: https://docs.rs/syn/2.0/syn/struct.DeriveInput.html
47+
[parser functions]: https://docs.rs/syn/2.0/syn/parse/index.html
4848

4949
*Version requirement: Syn supports rustc 1.56 and up.*
5050

‎examples/trace-var/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ n = 1
4242
The procedural macro uses a syntax tree [`Fold`] to rewrite every `let`
4343
statement and assignment expression in the following way:
4444

45-
[`Fold`]: https://docs.rs/syn/1.0/syn/fold/trait.Fold.html
45+
[`Fold`]: https://docs.rs/syn/2.0/syn/fold/trait.Fold.html
4646

4747
```rust
4848
// Before

‎json/src/lib.rs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
//! of the [`visit`], [`visit_mut`], and [`fold`] modules can be generated
1414
//! programmatically from a description of the syntax tree.
1515
//!
16-
//! [`visit`]: https://docs.rs/syn/1.0/syn/visit/index.html
17-
//! [`visit_mut`]: https://docs.rs/syn/1.0/syn/visit_mut/index.html
18-
//! [`fold`]: https://docs.rs/syn/1.0/syn/fold/index.html
16+
//! [`visit`]: https://docs.rs/syn/2.0/syn/visit/index.html
17+
//! [`visit_mut`]: https://docs.rs/syn/2.0/syn/visit_mut/index.html
18+
//! [`fold`]: https://docs.rs/syn/2.0/syn/fold/index.html
1919
//!
2020
//! To make this type of code as easy as possible to implement in any language,
2121
//! every Syn release comes with a machine-readable description of that version

0 commit comments

Comments
 (0)