Skip to content

Commit 19acb87

Browse files
committed
review fixups
1 parent 2c3de6d commit 19acb87

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

turbopack/crates/turbo-tasks-backend/src/backend/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,9 +1276,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
12761276
removed_data.extend(task.extract_if(CachedDataItemIndex::CellData, |key, _| {
12771277
matches!(key, &CachedDataItemKey::CellData { cell } if cell_counters
12781278
.get(&cell.type_id)
1279-
.map_or(true, |start_index| cell.index >= *start_index) && {
1280-
true
1281-
})
1279+
.map_or(true, |start_index| cell.index >= *start_index))
12821280
}));
12831281
if self.should_track_children() {
12841282
old_edges.extend(task.iter(CachedDataItemIndex::Children).filter_map(

turbopack/crates/turbo-tasks-backend/src/backend/storage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
use core::panic;
21
use std::{
32
hash::{BuildHasherDefault, Hash},
43
mem::take,
54
ops::{Deref, DerefMut},
5+
panic,
66
thread::available_parallelism,
77
};
88

0 commit comments

Comments
 (0)