Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/lib.rs')
| -rw-r--r-- | crates/hir-def/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-def/src/lib.rs b/crates/hir-def/src/lib.rs index 974a2ab8f2..4431d1b3c8 100644 --- a/crates/hir-def/src/lib.rs +++ b/crates/hir-def/src/lib.rs @@ -356,8 +356,8 @@ impl From<TypeParamId> for TypeOrConstParamId { } } -#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] /// A TypeOrConstParamId with an invariant that it actually belongs to a const +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub struct ConstParamId(TypeOrConstParamId); impl ConstParamId { |