Rollup merge of #77204 - LingMan:patch-3, r=jonas-schievink
Remove stray word from `ClosureKind::extends` docs
This commit is contained in:
commit
67f8c5914f
@ -2675,7 +2675,7 @@ impl<'tcx> ClosureKind {
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns `true` if this a type that impls this closure kind
|
||||
/// Returns `true` if a type that impls this closure kind
|
||||
/// must also implement `other`.
|
||||
pub fn extends(self, other: ty::ClosureKind) -> bool {
|
||||
match (self, other) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user