style: format Rust workspace
This commit is contained in:
@@ -165,7 +165,10 @@ pub fn begin_retain() {
|
||||
/// Stop quarantining and hand the quarantined blocks to the caller.
|
||||
pub fn end_retain() -> RetainedBlocks {
|
||||
RETAINED.with(|cell| {
|
||||
let list = cell.borrow_mut().take().expect("end_retain without begin_retain");
|
||||
let list = cell
|
||||
.borrow_mut()
|
||||
.take()
|
||||
.expect("end_retain without begin_retain");
|
||||
RetainedBlocks(list)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user