diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-12-24 12:41:35 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-12-24 17:22:48 +0000 |
| commit | 821920b2a3bb63a76233e8c1862409d51d85a5e9 (patch) | |
| tree | 9326e3a9f17a825ef2c8418c68ff6cc04bf6162f /compiler/rustc_data_structures/src | |
| parent | 75ad81ce934123d71c9662fbbd5ca67ef507cbfb (diff) | |
Do not store stable crate id in on-disk hash map.
Diffstat (limited to 'compiler/rustc_data_structures/src')
| -rw-r--r-- | compiler/rustc_data_structures/src/hashes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/hashes.rs b/compiler/rustc_data_structures/src/hashes.rs index ad068cdbc98..291ee5bbe26 100644 --- a/compiler/rustc_data_structures/src/hashes.rs +++ b/compiler/rustc_data_structures/src/hashes.rs @@ -25,7 +25,7 @@ impl Hash64 { pub const ZERO: Hash64 = Hash64 { inner: 0 }; #[inline] - pub(crate) fn new(n: u64) -> Self { + pub fn new(n: u64) -> Self { Self { inner: n } } |
