Skip to content

Commit

Permalink
remove duplicate words
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyeyouyou committed Jul 10, 2024
1 parent 5a46025 commit 87084c1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions crates/cargo-util-schemas/src/manifest/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ impl TomlPackage {
#[derive(Serialize, Copy, Clone, Debug)]
#[serde(untagged)]
pub enum InheritableField<T> {
/// 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),
Expand Down Expand Up @@ -582,7 +582,7 @@ impl From<WorkspaceValue> 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),
Expand Down
2 changes: 1 addition & 1 deletion crates/mdman/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/cargo/core/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/doc/contrib/src/process/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/git_shallow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down

0 comments on commit 87084c1

Please sign in to comment.