Skip to content

Commit 58b6501

Browse files
committed
refactor(toml): Attempt to logically group everything
1 parent 1e761a1 commit 58b6501

File tree

2 files changed

+1612
-1612
lines changed

2 files changed

+1612
-1612
lines changed

src/cargo/core/features.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ pub type AllowFeatures = BTreeSet<String>;
151151
/// - Update [`CLI_VALUES`] to include the new edition.
152152
/// - Set [`LATEST_UNSTABLE`] to Some with the new edition.
153153
/// - Add an unstable feature to the [`features!`] macro invocation below for the new edition.
154-
/// - Gate on that new feature in [`toml::to_real_manifest`].
154+
/// - Gate on that new feature in [`toml`].
155155
/// - Update the shell completion files.
156156
/// - Update any failing tests (hopefully there are very few).
157157
/// - Update unstable.md to add a new section for this new edition (see [this example]).
@@ -178,7 +178,7 @@ pub type AllowFeatures = BTreeSet<String>;
178178
/// [`LATEST_STABLE`]: Edition::LATEST_STABLE
179179
/// [this example]: https://github.com/rust-lang/cargo/blob/3ebb5f15a940810f250b68821149387af583a79e/src/doc/src/reference/unstable.md?plain=1#L1238-L1264
180180
/// [`is_stable`]: Edition::is_stable
181-
/// [`toml::to_real_manifest`]: crate::util::toml::to_real_manifest
181+
/// [`toml`]: crate::util::toml
182182
/// [`features!`]: macro.features.html
183183
#[derive(
184184
Default, Clone, Copy, Debug, Hash, PartialOrd, Ord, Eq, PartialEq, Serialize, Deserialize,

0 commit comments

Comments
 (0)