about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-13 20:21:40 +0000
committerbors <bors@rust-lang.org>2021-03-13 20:21:40 +0000
commitacca818928654807ed3bc1ce0e97df118f8716c8 (patch)
tree0a50dda57d881b308a60a6efe840a1d9518e1277 /compiler/rustc_data_structures/src
parente7e1dc158c3de232750b568163f6941a184ee8be (diff)
parent34e92bbf65aa28a8192dfc0ca1edaaee95d52b37 (diff)
downloadrust-acca818928654807ed3bc1ce0e97df118f8716c8.tar.gz
rust-acca818928654807ed3bc1ce0e97df118f8716c8.zip
Auto merge of #83064 - cjgillot:fhash, r=jackh726
Tweaks to stable hashing
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/stable_hasher.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_data_structures/src/stable_hasher.rs b/compiler/rustc_data_structures/src/stable_hasher.rs
index 3850c9b74fd..ff28784a1dc 100644
--- a/compiler/rustc_data_structures/src/stable_hasher.rs
+++ b/compiler/rustc_data_structures/src/stable_hasher.rs
@@ -35,6 +35,7 @@ impl StableHasher {
         StableHasher { state: SipHasher128::new_with_keys(0, 0) }
     }
 
+    #[inline]
     pub fn finish<W: StableHasherResult>(self) -> W {
         W::finish(self)
     }