rename Context::destroy to Context::unwrap, in line with lang conventions

This commit is contained in:
edef 2015-04-16 07:49:13 -04:00
parent 01e57ce9f5
commit 68f70fb1c9

View File

@ -37,7 +37,7 @@ impl<'a, Stack> Context<'a, Stack> where Stack: stack::Stack {
}
#[inline]
pub unsafe fn destroy(self) -> Stack {
pub unsafe fn unwrap(self) -> Stack {
self.stack
}
}