From 222ab0eaa9608dec793beb7c18c2e40a059c45dd Mon Sep 17 00:00:00 2001 From: edef Date: Thu, 16 Apr 2015 06:43:09 -0400 Subject: [PATCH] make Context::destroy inlineable --- src/context.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/context.rs b/src/context.rs index f9c0bdb..7fa1ae8 100644 --- a/src/context.rs +++ b/src/context.rs @@ -32,6 +32,7 @@ impl<'a, Stack> Context<'a, Stack> where Stack: stack::Stack { self.regs.swap() } + #[inline] pub unsafe fn destroy(self) -> Stack { self.stack }