diff options
| author | Ben Kimock <kimockb@gmail.com> | 2023-04-15 13:53:50 -0400 |
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2023-04-16 20:05:02 -0400 |
| commit | 84facac97a3a13a1ea29b227d55513b58ffe7692 (patch) | |
| tree | 326f52214aeaf6caee30721d55f294099662efdd /compiler/rustc_middle/src | |
| parent | fd57c6b407d5f038060d7b94ce9af22ea4b0dcf0 (diff) | |
| download | rust-84facac97a3a13a1ea29b227d55513b58ffe7692.tar.gz rust-84facac97a3a13a1ea29b227d55513b58ffe7692.zip | |
Remove some unnecessary hash truncations
Diffstat (limited to 'compiler/rustc_middle/src')
| -rw-r--r-- | compiler/rustc_middle/src/hir/map/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/hir/map/mod.rs b/compiler/rustc_middle/src/hir/map/mod.rs index e551c76f8db..64aff27744f 100644 --- a/compiler/rustc_middle/src/hir/map/mod.rs +++ b/compiler/rustc_middle/src/hir/map/mod.rs @@ -1199,7 +1199,7 @@ pub(super) fn crate_hash(tcx: TyCtxt<'_>, _: LocalCrate) -> Svh { stable_hasher.finish() }); - Svh::new(crate_hash.to_smaller_hash()) + Svh::new(crate_hash) } fn upstream_crates(tcx: TyCtxt<'_>) -> Vec<(StableCrateId, Svh)> { |
