Remove stray word from ClosureKind::extends docs

This commit is contained in:
LingMan 2020-09-25 23:35:07 +02:00 committed by GitHub
parent 10ef7f9ebf
commit 900daba2cb
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) {