Miscellaneous inlining improvements

This commit is contained in:
Tomasz Miąsko 2021-06-01 00:00:00 +00:00
parent c4f186f0ea
commit c1f6495b8e
17 changed files with 45 additions and 0 deletions

View file

@ -922,6 +922,7 @@ pub trait HasTargetSpec {
}
impl HasTargetSpec for Target {
#[inline]
fn target_spec(&self) -> &Target {
self
}