Skip to content

Commit fdde4c8

Browse files
Inline DebruijnIndex::hash_stable
1 parent d23e084 commit fdde4c8

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_type_ir/src

1 file changed

+1
-0
lines changed

compiler/rustc_type_ir/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ impl DebruijnIndex {
198198
}
199199

200200
impl<CTX> HashStable<CTX> for DebruijnIndex {
201+
#[inline]
201202
fn hash_stable(&self, ctx: &mut CTX, hasher: &mut StableHasher) {
202203
self.as_u32().hash_stable(ctx, hasher);
203204
}

0 commit comments

Comments
 (0)