mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Update edition stabilization docs
Updating `first_version` is another thing that needs to be checked when updating.
This commit is contained in:
parent
5306252c70
commit
52c62ee9fe
@ -162,6 +162,7 @@ pub type AllowFeatures = BTreeSet<String>;
|
||||
/// - Set [`LATEST_UNSTABLE`] to None.
|
||||
/// - Set [`LATEST_STABLE`] to the new version.
|
||||
/// - Update [`is_stable`] to `true`.
|
||||
/// - Set [`first_version`] to the version it will be released.
|
||||
/// - Set the editionNNNN feature to stable in the [`features!`] macro invocation below.
|
||||
/// - Update any tests that are affected.
|
||||
/// - Update the man page for the `--edition` flag.
|
||||
@ -178,6 +179,7 @@ pub type AllowFeatures = BTreeSet<String>;
|
||||
/// [`LATEST_UNSTABLE`]: Edition::LATEST_UNSTABLE
|
||||
/// [`LATEST_STABLE`]: Edition::LATEST_STABLE
|
||||
/// [this example]: https://github.com/rust-lang/cargo/blob/3ebb5f15a940810f250b68821149387af583a79e/src/doc/src/reference/unstable.md?plain=1#L1238-L1264
|
||||
/// [`first_version`]: Edition::first_version
|
||||
/// [`is_stable`]: Edition::is_stable
|
||||
/// [`toml`]: crate::util::toml
|
||||
/// [`features!`]: macro.features.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user