Skip to content

Commit

Permalink
refactor(toml): Attempt to logically group everything
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Apr 2, 2024
1 parent 1e761a1 commit 58b6501
Show file tree
Hide file tree
Showing 2 changed files with 1,612 additions and 1,612 deletions.
4 changes: 2 additions & 2 deletions src/cargo/core/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ pub type AllowFeatures = BTreeSet<String>;
/// - Update [`CLI_VALUES`] to include the new edition.
/// - Set [`LATEST_UNSTABLE`] to Some with the new edition.
/// - Add an unstable feature to the [`features!`] macro invocation below for the new edition.
/// - Gate on that new feature in [`toml::to_real_manifest`].
/// - Gate on that new feature in [`toml`].
/// - Update the shell completion files.
/// - Update any failing tests (hopefully there are very few).
/// - Update unstable.md to add a new section for this new edition (see [this example]).
Expand All @@ -178,7 +178,7 @@ pub type AllowFeatures = BTreeSet<String>;
/// [`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
/// [`is_stable`]: Edition::is_stable
/// [`toml::to_real_manifest`]: crate::util::toml::to_real_manifest
/// [`toml`]: crate::util::toml
/// [`features!`]: macro.features.html
#[derive(
Default, Clone, Copy, Debug, Hash, PartialOrd, Ord, Eq, PartialEq, Serialize, Deserialize,
Expand Down
Loading

0 comments on commit 58b6501

Please sign in to comment.