Skip to content

Commit

Permalink
Rollup merge of #78758 - eltociear:patch-1, r=jyn514
Browse files Browse the repository at this point in the history
Fixed typo in comment

paramter -> parameter
  • Loading branch information
JohnTitor authored Nov 5, 2020
2 parents 8c18b75 + 873ebcb commit c953bd5
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 @@ -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`.
Expand Down

0 comments on commit c953bd5

Please sign in to comment.