Skip to content

Commit 04b6aed

Browse files
committed
Auto merge of #13216 - rustaceanclub:master, r=epage
Remove repetitive words
2 parents 312ad26 + 5c7fbd8 commit 04b6aed

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

credential/cargo-credential/examples/stdout-redirected.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ impl Credential for MyCredential {
1515
_args: &[&str],
1616
) -> Result<CredentialResponse, Error> {
1717
// Informational messages should be sent on stderr.
18-
eprintln!("message on stderr should be sent the the parent process");
18+
eprintln!("message on stderr should be sent to the parent process");
1919

2020
// Reading from stdin and writing to stdout will go to the attached console (tty).
2121
println!("message from test credential provider");

credential/cargo-credential/tests/examples.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fn stdout_redirected() {
1515
.arg("--cargo-plugin")
1616
.assert()
1717
.stdout_eq(format!("{hello}\n{err_not_supported}\n"))
18-
.stderr_eq("message on stderr should be sent the the parent process\n")
18+
.stderr_eq("message on stderr should be sent to the parent process\n")
1919
.success();
2020
}
2121

src/cargo/sources/registry/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ pub enum LoadResponse {
328328
NotFound,
329329
}
330330

331-
/// An abstract interface to handle both a local and and remote registry.
331+
/// An abstract interface to handle both a local and remote registry.
332332
///
333333
/// This allows [`RegistrySource`] to abstractly handle each registry kind.
334334
///

src/doc/src/reference/specifying-dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ separated with a comma, e.g., `>= 1.2, < 1.5`.
127127
> (e.g. only uses a simple type that hasn't changed between releases, like an `Id`)
128128
> may support users choosing which version of the "public dependency" to use.
129129
> In this case, a version requirement like `">=0.4, <2"` may be of interest.
130-
> *However* users of the package will likely run into errors and need to to
130+
> *However* users of the package will likely run into errors and need to
131131
> manually select a version of the "public dependency" via `cargo update` if
132132
> they also depend on it as Cargo might pick different versions of the "public
133133
> dependency" when [resolving dependency versions](resolver.md) (see

tests/testsuite/global_cache_tracker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ fn auto_gc_index() {
444444
fn auto_gc_git() {
445445
// auto-gc should delete git checkouts and dbs.
446446

447-
// Returns the short git name of a a checkout.
447+
// Returns the short git name of a checkout.
448448
let short_id = |repo: &git2::Repository| -> String {
449449
let head = repo.revparse_single("HEAD").unwrap();
450450
let short_id = head.short_id().unwrap();

0 commit comments

Comments
 (0)