remove repetitive words

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter 2024-02-23 18:26:01 +08:00
parent dda102c190
commit 824d75c22e
5 changed files with 10 additions and 10 deletions

View File

@ -623,7 +623,7 @@ pub fn create_compressed_metadata_file_for_xcoff(
/// that contains a custom section of the name `section_name` with contents
/// `data`.
///
/// NB: the `object` crate does not yet have support for writing the the wasm
/// NB: the `object` crate does not yet have support for writing the wasm
/// object file format. The format is simple enough that for now an extra crate
/// from crates.io (such as `wasm-encoder`). The file format is:
///

View File

@ -139,7 +139,7 @@ pub enum SelectionCandidate<'tcx> {
/// generated for an `async ||` expression.
AsyncClosureCandidate,
/// Implementation of the the `AsyncFnKindHelper` helper trait, which
/// Implementation of the `AsyncFnKindHelper` helper trait, which
/// is used internally to delay computation for async closures until after
/// upvar analysis is performed in HIR typeck.
AsyncFnKindHelperCandidate,

View File

@ -2916,7 +2916,7 @@ impl<'a, K, V> Cursor<'a, K, V> {
}
}
/// Returns a reference to the the key and value of the next element without
/// Returns a reference to the key and value of the next element without
/// moving the cursor.
///
/// If the cursor is at the end of the map then `None` is returned
@ -2925,7 +2925,7 @@ impl<'a, K, V> Cursor<'a, K, V> {
self.clone().next()
}
/// Returns a reference to the the key and value of the previous element
/// Returns a reference to the key and value of the previous element
/// without moving the cursor.
///
/// If the cursor is at the start of the map then `None` is returned.
@ -2958,7 +2958,7 @@ impl<'a, K, V, A> CursorMut<'a, K, V, A> {
Some((&*k, v))
}
/// Returns a reference to the the key and value of the next element without
/// Returns a reference to the key and value of the next element without
/// moving the cursor.
///
/// If the cursor is at the end of the map then `None` is returned
@ -2968,7 +2968,7 @@ impl<'a, K, V, A> CursorMut<'a, K, V, A> {
Some((&*k, v))
}
/// Returns a reference to the the key and value of the previous element
/// Returns a reference to the key and value of the previous element
/// without moving the cursor.
///
/// If the cursor is at the start of the map then `None` is returned.
@ -3056,7 +3056,7 @@ impl<'a, K, V, A> CursorMutKey<'a, K, V, A> {
}
}
/// Returns a reference to the the key and value of the next element without
/// Returns a reference to the key and value of the next element without
/// moving the cursor.
///
/// If the cursor is at the end of the map then `None` is returned
@ -3068,7 +3068,7 @@ impl<'a, K, V, A> CursorMutKey<'a, K, V, A> {
Some(kv)
}
/// Returns a reference to the the key and value of the previous element
/// Returns a reference to the key and value of the previous element
/// without moving the cursor.
///
/// If the cursor is at the start of the map then `None` is returned.

View File

@ -2399,7 +2399,7 @@ impl Config {
.last_modified_commit(&["src/llvm-project"], "download-ci-llvm", true)
.is_none()
{
// there are some untracked changes in the the given paths.
// there are some untracked changes in the given paths.
false
} else {
llvm::is_ci_llvm_available(self, asserts)

View File

@ -167,5 +167,5 @@ render differently in this case:
[f]: g
```
`1.` and `2.` will will be displayed as is in the rendered documentation (ie, `[a]` and `[b][c]`)
`1.` and `2.` will be displayed as is in the rendered documentation (ie, `[a]` and `[b][c]`)
whereas `3.` and `4.` will be replaced by a link targetting `e` for `[d](e)` and `g` for `[f]`.