forked from M-Labs/libfringe
rename Context::destroy to Context::unwrap, in line with lang conventions
This commit is contained in:
parent
01e57ce9f5
commit
68f70fb1c9
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue