aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2017-07-25 22:30:41 -0500
committerGravatar Jorge Aparicio <jorge@japaric.io> 2017-07-25 22:30:41 -0500
commit6a2ff0aede787d0d6f2ac55e30fb1a248881155d (patch)
tree2a6167b860c157e53eb311ee3dd46353175d552c /src
parent8aa3621034626114716dc7d26443bc39cd717715 (diff)
downloadrtic-6a2ff0aede787d0d6f2ac55e30fb1a248881155d.tar.gz
rtic-6a2ff0aede787d0d6f2ac55e30fb1a248881155d.tar.zst
rtic-6a2ff0aede787d0d6f2ac55e30fb1a248881155d.zip
inline claim
because it's needed for proper optimization / inlining
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index ba42d1de..43079c17 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -134,6 +134,7 @@ impl<T> Resource for Static<T> {
}
}
+#[inline]
#[doc(hidden)]
pub unsafe fn claim<T, R, F>(
data: T,