Skip to content

Commit 652aea0

Browse files
authored
Rollup merge of #78758 - eltociear:patch-1, r=jyn514
Fixed typo in comment paramter -> parameter
2 parents a1e8894 + 873ebcb commit 652aea0

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1641,7 +1641,7 @@ pub type PlaceholderConst = Placeholder<BoundVar>;
16411641
#[derive(Hash, HashStable)]
16421642
pub struct WithOptConstParam<T> {
16431643
pub did: T,
1644-
/// The `DefId` of the corresponding generic paramter in case `did` is
1644+
/// The `DefId` of the corresponding generic parameter in case `did` is
16451645
/// a const argument.
16461646
///
16471647
/// Note that even if `did` is a const argument, this may still be `None`.

0 commit comments

Comments
 (0)