Skip to content

Commit 16af2d9

Browse files
Update a Rust edition to 2021 across project files
Updated the Cargo.toml files for test suites and a link in the README to use Rust edition 2021 instead of 2018. This ensures compatibility with the latest Rust features and standards.
1 parent b426ff8 commit 16af2d9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You may be looking for:
2727
<details>
2828
<summary>
2929
Click to show Cargo.toml.
30-
<a href="https://play.rust-lang.org/?edition=2018&gist=72755f28f99afc95e01d63174b28c1f5" target="_blank">Run this code in the playground.</a>
30+
<a href="https://play.rust-lang.org/?edition=2021&gist=72755f28f99afc95e01d63174b28c1f5" target="_blank">Run this code in the playground.</a>
3131
</summary>
3232

3333
```toml

test_suite/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "serde_test_suite"
33
version = "0.0.0"
44
authors = ["Erick Tryzelaar <[email protected]>", "David Tolnay <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
publish = false
77

88
[features]

test_suite/no_std/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "serde_derive_tests_no_std"
33
version = "0.0.0"
44
authors = ["David Tolnay <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
publish = false
77

88
[dependencies]

0 commit comments

Comments
 (0)