mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +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)]
|
||||
pub unsafe fn claim<T, R, F>(
|
||||
data: T,
|
||||
|
|
Loading…
Reference in a new issue