inline a trivial function

This commit is contained in:
Oli Scherer 2022-03-07 11:00:27 +00:00
parent 00c24dd8ce
commit 33d0ce95a9

View file

@ -455,6 +455,7 @@ const BOOL_TYS: TyS<'static> = TyS {
};
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for TyS<'tcx> {
#[inline]
fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) {
let TyS {
kind,