From 84bf599bace38787f2237d2aadc5adf55fe662db Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Thu, 11 Mar 2021 11:49:23 +0100 Subject: Add inlining. --- compiler/rustc_data_structures/src/stable_hasher.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_data_structures') 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(self) -> W { W::finish(self) } -- cgit 1.4.1-3-g733a5