mirror of
https://github.com/salsa-rs/salsa.git
synced 2024-12-27 06:27:45 +00:00
use RefCell::take
This commit is contained in:
parent
cb00077ebc
commit
d8a792ce60
1 changed files with 1 additions and 1 deletions
|
@ -11,6 +11,6 @@ impl Log {
|
|||
}
|
||||
|
||||
pub(crate) fn take(&self) -> Vec<String> {
|
||||
std::mem::take(&mut *self.data.borrow_mut())
|
||||
self.data.take()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue