Rollup merge of #77204 - LingMan:patch-3, r=jonas-schievink

Remove stray word from `ClosureKind::extends` docs
This commit is contained in:
Ralf Jung 2020-09-26 12:58:30 +02:00 committed by GitHub
commit 67f8c5914f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {