inline claim

because it's needed for proper optimization / inlining
This commit is contained in:
Jorge Aparicio 2017-07-25 22:30:41 -05:00
parent 8aa3621034
commit 6a2ff0aede

View file

@ -134,6 +134,7 @@ impl<T> Resource for Static<T> {
}
}
#[inline]
#[doc(hidden)]
pub unsafe fn claim<T, R, F>(
data: T,