diff --git a/crates/cargo-util-schemas/src/manifest/mod.rs b/crates/cargo-util-schemas/src/manifest/mod.rs index 7ca2de5564d..96509d91fc2 100644 --- a/crates/cargo-util-schemas/src/manifest/mod.rs +++ b/crates/cargo-util-schemas/src/manifest/mod.rs @@ -285,7 +285,7 @@ impl TomlPackage { #[derive(Serialize, Copy, Clone, Debug)] #[serde(untagged)] pub enum InheritableField { - /// The type that that is used when not inheriting from a workspace. + /// The type that is used when not inheriting from a workspace. Value(T), /// The type when inheriting from a workspace. Inherit(TomlInheritedField), @@ -582,7 +582,7 @@ impl From for bool { #[derive(Serialize, Clone, Debug)] #[serde(untagged)] pub enum InheritableDependency { - /// The type that that is used when not inheriting from a workspace. + /// The type that is used when not inheriting from a workspace. Value(TomlDependency), /// The type when inheriting from a workspace. Inherit(TomlInheritedDependency), diff --git a/crates/mdman/Cargo.toml b/crates/mdman/Cargo.toml index 375d8ac750f..6668d13a9b0 100644 --- a/crates/mdman/Cargo.toml +++ b/crates/mdman/Cargo.toml @@ -3,7 +3,7 @@ name = "mdman" version = "0.0.0" edition.workspace = true license.workspace = true -description = "Creates a man page page from markdown." +description = "Creates a man page from markdown." publish = false [dependencies] diff --git a/src/cargo/core/registry.rs b/src/cargo/core/registry.rs index bcbd819905a..a61826f6537 100644 --- a/src/cargo/core/registry.rs +++ b/src/cargo/core/registry.rs @@ -237,7 +237,7 @@ impl<'gctx> PackageRegistry<'gctx> { } // If the previous source has the same precise version as we do, - // then we're done, otherwise we need to need to move forward + // then we're done, otherwise we need to move forward // updating this source. Some((previous, _)) => { if previous.has_same_precise_as(namespace) { diff --git a/src/doc/contrib/src/process/unstable.md b/src/doc/contrib/src/process/unstable.md index 3118358ae77..06df79711bd 100644 --- a/src/doc/contrib/src/process/unstable.md +++ b/src/doc/contrib/src/process/unstable.md @@ -77,7 +77,7 @@ and give feedback begins: - This could be on the tracking issue or in a dedicated issue for feedback - e.g. [workspace inheritance testing notes] 2. Call for testing - - In the RFC, link to the test instructions and label it with with `call-for-testing` to be picked up by [This Week in Rust] + - In the RFC, link to the test instructions and label it with `call-for-testing` to be picked up by [This Week in Rust] - If there is not an RFC, a pull request should be made to the [TWiR repo] adding the feature to the `Call for Testing` section ([example]). - Post on various Rust communities ([rust subreddit], [users], [internals], etc) diff --git a/tests/testsuite/git_shallow.rs b/tests/testsuite/git_shallow.rs index ca27ccd644e..9711231e344 100644 --- a/tests/testsuite/git_shallow.rs +++ b/tests/testsuite/git_shallow.rs @@ -443,7 +443,7 @@ fn gitoxide_shallow_clone_followed_by_non_shallow_update() -> anyhow::Result<()> assert_eq!( max_history_depth, 3, - "we see the previous shallow checkout as well as new new unshallow one" + "we see the previous shallow checkout as well as new unshallow one" ); Ok(())