Skip to content

Commit 900daba

Browse files
authored
Remove stray word from ClosureKind::extends docs
1 parent 10ef7f9 commit 900daba

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2675,7 +2675,7 @@ impl<'tcx> ClosureKind {
26752675
}
26762676
}
26772677

2678-
/// Returns `true` if this a type that impls this closure kind
2678+
/// Returns `true` if a type that impls this closure kind
26792679
/// must also implement `other`.
26802680
pub fn extends(self, other: ty::ClosureKind) -> bool {
26812681
match (self, other) {

0 commit comments

Comments
 (0)