Skip to content

Commit eb24f96

Browse files
authored
Fix edition number
1 parent 970dd87 commit eb24f96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust-2024/cargo-resolver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Since Rust 1.84.0, Cargo has opt-in support for compatibility with
1313
by setting [`resolver.incompatible-rust-version = "fallback"`] in `.cargo/config.toml`.
1414

1515
Starting in Rust 2024, this will be the default.
16-
That is, writing `edition = "2021"` in `Cargo.toml` will imply `resolver = "3"`
16+
That is, writing `edition = "2024"` in `Cargo.toml` will imply `resolver = "3"`
1717
which will imply [`resolver.incompatible-rust-version = "fallback"`].
1818

1919
The resolver is a global setting for a [workspace], and the setting is ignored in dependencies.

0 commit comments

Comments
 (0)