diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-03-07 11:00:27 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-03-31 14:54:04 +0000 |
| commit | 33d0ce95a947d1311af01ad6d3e39b1075c50417 (patch) | |
| tree | 17bc0f782fbcafe9d16c53324dcd5c34ce44a062 /compiler | |
| parent | 00c24dd8cec6c57ccbfb376c4a2f47b5f6e39401 (diff) | |
| download | rust-33d0ce95a947d1311af01ad6d3e39b1075c50417.tar.gz rust-33d0ce95a947d1311af01ad6d3e39b1075c50417.zip | |
inline a trivial function
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_middle/src/ty/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/ty/mod.rs b/compiler/rustc_middle/src/ty/mod.rs index 39acf252698..482460c0fe9 100644 --- a/compiler/rustc_middle/src/ty/mod.rs +++ b/compiler/rustc_middle/src/ty/mod.rs @@ -455,6 +455,7 @@ const BOOL_TYS: TyS<'static> = TyS { }; impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for TyS<'tcx> { + #[inline] fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) { let TyS { kind, |
