Skip to content

Commit

Permalink
Remove stray word from ClosureKind::extends docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LingMan authored Sep 25, 2020
1 parent 10ef7f9 commit 900daba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 900daba

Please sign in to comment.