diff options
| author | Ikko Ashimine <eltociear@gmail.com> | 2020-11-05 12:08:32 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-05 12:08:32 +0900 |
| commit | 873ebcb243a6ddf27ed4f8282ed3acf84513dc81 (patch) | |
| tree | fce6ed36ba6ee10c954b72f69f1bb63f3043bac1 | |
| parent | 0fb00251a578018430bad6687ff74e14031d2a07 (diff) | |
| download | rust-873ebcb243a6ddf27ed4f8282ed3acf84513dc81.tar.gz rust-873ebcb243a6ddf27ed4f8282ed3acf84513dc81.zip | |
Fixed typo in comment
paramter -> parameter
| -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 0a7bec1a342..aa5a696b09c 100644 --- a/compiler/rustc_middle/src/ty/mod.rs +++ b/compiler/rustc_middle/src/ty/mod.rs @@ -1641,7 +1641,7 @@ pub type PlaceholderConst = Placeholder<BoundVar>; #[derive(Hash, HashStable)] pub struct WithOptConstParam<T> { pub did: T, - /// The `DefId` of the corresponding generic paramter in case `did` is + /// The `DefId` of the corresponding generic parameter in case `did` is /// a const argument. /// /// Note that even if `did` is a const argument, this may still be `None`. |
