make Context::destroy inlineable

master
edef 2015-04-16 06:43:09 -04:00
parent 6f750ab484
commit 222ab0eaa9
1 changed files with 1 additions and 0 deletions

View File

@ -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
}