🎨 Format the testkit's count of kept deallocators as rustfmt does

rustfmt splits the chain that counts the refused deallocators the world
keeps (build job m3-max-61192 failed its format check on it).
This commit is contained in:
Anees Iqbal committed 2026-11-20 18:52:54 -08:00
1 parent cdb9606b7f
commit c8407fb6fc
1 file changed
+4 -1
@@ -1460,7 +1460,10 @@ impl World {
/// How many deallocators of refused no-copy buffers the world keeps unrun
/// ([`World::keep_refused_deallocators`]): 0 until a test asks it to keep them.
pub fn refused_deallocators(&self) -> usize {
self.refused_deallocators.lock().as_ref().map_or(0, Vec::len)
self.refused_deallocators
.lock()
.as_ref()
.map_or(0, Vec::len)
}
/// The deallocator of a no-copy buffer a device refused: kept unrun where the world keeps