Remove stray word from ClosureKind::extends
docs
This commit is contained in:
parent
10ef7f9ebf
commit
900daba2cb
@ -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…
Reference in New Issue
Block a user