Skip to content

Commit 5b6b348

Browse files
authored
don't hash ()
1 parent 299dd02 commit 5b6b348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/impls_ty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for ty::subst::GenericArgKin
7878
// that high.
7979
ty::subst::GenericArgKind::Type(ty) => ty.hash_stable(hcx, hasher),
8080
ty::subst::GenericArgKind::Const(ct) => {
81-
0xF3u8.hash_stable(hcx, hasher).hash_stable(hcx, hasher);
81+
0xF3u8.hash_stable(hcx, hasher);
8282
ct.hash_stable(hcx, hasher);
8383
}
8484
ty::subst::GenericArgKind::Lifetime(lt) => {

0 commit comments

Comments
 (0)