diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-03-11 11:49:23 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-03-11 12:24:43 +0100 |
| commit | 84bf599bace38787f2237d2aadc5adf55fe662db (patch) | |
| tree | ce0e5f05d3d7580c8e4e885ae5257e7c2b5b29b4 /compiler/rustc_data_structures/src | |
| parent | 17a07d71bfd692f9b2dad2a566aff52bf3d4bfe2 (diff) | |
| download | rust-84bf599bace38787f2237d2aadc5adf55fe662db.tar.gz rust-84bf599bace38787f2237d2aadc5adf55fe662db.zip | |
Add inlining.
Diffstat (limited to 'compiler/rustc_data_structures/src')
| -rw-r--r-- | compiler/rustc_data_structures/src/stable_hasher.rs | 1 |
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) } |
