1
Fork 0

Add #[inline] to some new functions

Co-authored-by: Camille Gillot <gillot.camille@gmail.com>
This commit is contained in:
Ben Kimock 2023-04-18 14:13:19 -04:00 committed by GitHub
parent a04c09ade8
commit 073d99b25d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 0 deletions

View file

@ -186,6 +186,7 @@ impl StableCrateId {
StableCrateId(hasher.finish())
}
#[inline]
pub fn as_u64(self) -> u64 {
self.0.as_u64()
}