Skip to content

Commit

Permalink
Rollup merge of #77204 - LingMan:patch-3, r=jonas-schievink
Browse files Browse the repository at this point in the history
Remove stray word from `ClosureKind::extends` docs
  • Loading branch information
jonas-schievink authored Sep 25, 2020
2 parents 43045ce + 900daba commit 3537ee3
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 3537ee3

Please sign in to comment.