We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ClosureKind::extends
1 parent 10ef7f9 commit 900dabaCopy full SHA for 900daba
compiler/rustc_middle/src/ty/mod.rs
@@ -2675,7 +2675,7 @@ impl<'tcx> ClosureKind {
2675
}
2676
2677
2678
- /// Returns `true` if this a type that impls this closure kind
+ /// Returns `true` if a type that impls this closure kind
2679
/// must also implement `other`.
2680
pub fn extends(self, other: ty::ClosureKind) -> bool {
2681
match (self, other) {
0 commit comments