1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

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