We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a1e8894 + 873ebcb commit 652aea0Copy full SHA for 652aea0
compiler/rustc_middle/src/ty/mod.rs
@@ -1641,7 +1641,7 @@ pub type PlaceholderConst = Placeholder<BoundVar>;
1641
#[derive(Hash, HashStable)]
1642
pub struct WithOptConstParam<T> {
1643
pub did: T,
1644
- /// The `DefId` of the corresponding generic paramter in case `did` is
+ /// The `DefId` of the corresponding generic parameter in case `did` is
1645
/// a const argument.
1646
///
1647
/// Note that even if `did` is a const argument, this may still be `None`.
0 commit comments