mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-26 05:29:38 +01:00
inline claim
because it's needed for proper optimization / inlining
This commit is contained in:
parent
8aa3621034
commit
6a2ff0aede
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ impl<T> Resource for Static<T> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[inline]
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
pub unsafe fn claim<T, R, F>(
|
pub unsafe fn claim<T, R, F>(
|
||||||
data: T,
|
data: T,
|
||||||
|
|
Loading…
Reference in a new issue