Skip to content

Commit 33d0ce9

Browse files
committed
inline a trivial function
1 parent 00c24dd commit 33d0ce9

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

compiler/rustc_middle/src/ty/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ const BOOL_TYS: TyS<'static> = TyS {
455455
};
456456

457457
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for TyS<'tcx> {
458+
#[inline]
458459
fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) {
459460
let TyS {
460461
kind,

0 commit comments

Comments
 (0)