1
Fork 0

Miscellaneous inlining improvements

Inline a few small and hot functions.
This commit is contained in:
Tomasz Miąsko 2021-02-26 00:00:00 +00:00
parent cecdb181ad
commit 481e1fd3a8
12 changed files with 52 additions and 8 deletions

View file

@ -111,6 +111,7 @@ macro_rules! newtype_index {
}
impl Clone for $type {
#[inline]
fn clone(&self) -> Self {
*self
}