Rollup merge of #138703 - pudongair:master, r=workingjubilee

chore: remove redundant words in comment

remove redundant words in comment
This commit is contained in:
Guillaume Gomez
2025-05-01 22:27:19 +02:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -195,7 +195,7 @@ impl<'a> Contains for Foo {
Please note that unconstrained lifetime parameters are not supported if they are
being used by an associated type.
In cases where the associated type's lifetime is meant to be tied to the the
In cases where the associated type's lifetime is meant to be tied to the
self type, and none of the methods on the trait need ownership or different
mutability, then an option is to implement the trait on a borrowed type:

View File

@@ -1748,8 +1748,8 @@ pub(crate) mod builtin {
/* compiler built-in */
}
/// Provide a list of type aliases and other opaque-type-containing type definitions.
/// This list will be used in the body of the item it is applied to define opaque
/// Provide a list of type aliases and other opaque-type-containing type definitions
/// to an item with a body. This list will be used in that body to define opaque
/// types' hidden types.
/// Can only be applied to things that have bodies.
#[unstable(