From 6a2ff0aede787d0d6f2ac55e30fb1a248881155d Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Tue, 25 Jul 2017 22:30:41 -0500 Subject: [PATCH] inline claim because it's needed for proper optimization / inlining --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index ba42d1debf..43079c1757 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -134,6 +134,7 @@ impl Resource for Static { } } +#[inline] #[doc(hidden)] pub unsafe fn claim( data: T,