forked from M-Labs/libfringe
make Context::destroy inlineable
This commit is contained in:
parent
6f750ab484
commit
222ab0eaa9
|
@ -32,6 +32,7 @@ impl<'a, Stack> Context<'a, Stack> where Stack: stack::Stack {
|
||||||
self.regs.swap()
|
self.regs.swap()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[inline]
|
||||||
pub unsafe fn destroy(self) -> Stack {
|
pub unsafe fn destroy(self) -> Stack {
|
||||||
self.stack
|
self.stack
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue