fix tests

This commit is contained in:
Evan Almloff committed 2022-12-22 18:19:55 -06:00
1 parent 6c28de7d05
commit 6a46a7c4fb
1 file changed
+6
+6
View File
@@ -103,6 +103,12 @@ impl BoxedCellSlice {
}
pub fn transfer(&self, other: &Self) {
unsafe {
*self.0.get() = (*other.0.get()).clone();
}
}
pub fn take_from(&self, other: &Self) {
unsafe {
*self.0.get() = (*other.0.get()).take();
}