diff options
| author | LingMan <LingMan@users.noreply.github.com> | 2020-09-25 23:35:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-25 23:35:07 +0200 |
| commit | 900daba2cbcc077f26b45c31c6a853ef5d4d6e9f (patch) | |
| tree | 8b1a4f919df2ce726838afd10cc7b525d4bba280 | |
| parent | 10ef7f9ebf8a497fe2ef8aa0d32b3776e85134a1 (diff) | |
| download | rust-900daba2cbcc077f26b45c31c6a853ef5d4d6e9f.tar.gz rust-900daba2cbcc077f26b45c31c6a853ef5d4d6e9f.zip | |
Remove stray word from `ClosureKind::extends` docs
| -rw-r--r-- | compiler/rustc_middle/src/ty/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/mod.rs b/compiler/rustc_middle/src/ty/mod.rs index 637ef4c17eb..492afa54445 100644 --- a/compiler/rustc_middle/src/ty/mod.rs +++ b/compiler/rustc_middle/src/ty/mod.rs @@ -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) { |
