Skip to content

Commit

Permalink
Auto merge of #12067 - cuishuang:master, r=weihanglo
Browse files Browse the repository at this point in the history
Remove repeated definite articles

Remove repeated definite articles
  • Loading branch information
bors committed May 2, 2023
2 parents c455de9 + 825c75a commit ba45764
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion crates/home/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::{
/// Permits parameterizing the home functions via the _from variants - used for
/// in-process unit testing by rustup.
pub trait Env {
/// Return the path to the the users home dir, or None if any error occurs:
/// Return the path to the users home dir, or None if any error occurs:
/// see home_inner.
fn home_dir(&self) -> Option<PathBuf>;
/// Return the current working directory.
Expand Down
2 changes: 1 addition & 1 deletion crates/mdman/doc/mdman.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ man page:
and `{{/options}}` tags. This tells the processor where the options start
and end.
- Each option must be expressed with a `{{#option}}` block. The parameters to
the the block are a sequence of strings indicating the option. For example,
the block are a sequence of strings indicating the option. For example,
```{{#option "`-p` _spec_..." "`--package` _spec_..."}}``` is an option that
has two different forms. The text within the string is processed as markdown.
It is recommended to use formatting similar to this example.
Expand Down
2 changes: 1 addition & 1 deletion crates/mdman/doc/out/mdman.1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ and end.
.sp
.RS 4
\h'-04'\(bu\h'+02'Each option must be expressed with a \fB{{#option}}\fR block. The parameters to
the the block are a sequence of strings indicating the option. For example,
the block are a sequence of strings indicating the option. For example,
\fB{{#option "`\-p` _spec_..." "`\-\-package` _spec_..."}}\fR is an option that
has two different forms. The text within the string is processed as markdown.
It is recommended to use formatting similar to this example.
Expand Down
2 changes: 1 addition & 1 deletion crates/mdman/doc/out/mdman.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ man page:
and `{{/options}}` tags. This tells the processor where the options start
and end.
- Each option must be expressed with a `{{#option}}` block. The parameters to
the the block are a sequence of strings indicating the option. For example,
the block are a sequence of strings indicating the option. For example,
```{{#option "`-p` _spec_..." "`--package` _spec_..."}}``` is an option that
has two different forms. The text within the string is processed as markdown.
It is recommended to use formatting similar to this example.
Expand Down
2 changes: 1 addition & 1 deletion crates/mdman/doc/out/mdman.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ DESCRIPTION
the options start and end.

o Each option must be expressed with a {{#option}} block. The
parameters to the the block are a sequence of strings indicating the
parameters to the block are a sequence of strings indicating the
option. For example, {{#option "`-p` _spec_..." "`--package`
_spec_..."}} is an option that has two different forms. The text
within the string is processed as markdown. It is recommended to use
Expand Down
2 changes: 1 addition & 1 deletion src/doc/src/reference/semver.md
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ fn main() {
It is safe to change a generic type to a more generic one. For example, the
following adds a generic parameter that defaults to the original type, which
is safe because all existing users will be using the same type for both
fields, the the defaulted parameter does not need to be specified.
fields, the defaulted parameter does not need to be specified.

```rust,ignore
// MINOR CHANGE
Expand Down
2 changes: 1 addition & 1 deletion src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ codegen-backend = "cranelift"

* Tracking Issue: [#11813](https://github.com/rust-lang/cargo/issues/11813)

With the 'gitoxide' unstable feature, all or the the specified git operations will be performed by
With the 'gitoxide' unstable feature, all or the specified git operations will be performed by
the `gitoxide` crate instead of `git2`.

While `-Zgitoxide` enables all currently implemented features, one can individually select git operations
Expand Down

0 comments on commit ba45764

Please sign in to comment.