Skip to content

Commit 72ff74d

Browse files
authored
Update to Edition 2021. (#359)
smallvec v2's MSRV is already 1.57.0, which is after the relase of Edition 2021 in 1.56.0. Apply fix for Cargo.toml dev_dependencies warning given by cargo fix --edition.
1 parent e9f511e commit 72ff74d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "smallvec"
33
version = "2.0.0-alpha.7"
4-
edition = "2018"
4+
edition = "2021"
55
rust-version = "1.57"
66
authors = ["The Servo Project Developers"]
77
license = "MIT OR Apache-2.0"
@@ -21,7 +21,7 @@ extract_if = []
2121
[dependencies]
2222
serde = { version = "1", optional = true, default-features = false }
2323

24-
[dev_dependencies]
24+
[dev-dependencies]
2525
bincode = "1.0.1"
2626

2727
[package.metadata.docs.rs]

fuzz/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "smallvec-fuzz"
33
version = "0.1.0"
44
authors = ["Dawid Ciężarkiewicz <dpc@dpc.pw>"]
5-
edition = "2018"
5+
edition = "2021"
66
publish = false
77

88
[package.metadata]

0 commit comments

Comments
 (0)