Skip to content

Commit 3680c17

Browse files
Rollup merge of #77204 - LingMan:patch-3, r=jonas-schievink
Remove stray word from `ClosureKind::extends` docs
2 parents 9b4715a + 900daba commit 3680c17

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)