Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Rod Vagg <rod@vagg.org>
  • Loading branch information
aarshkshah1992 and rvagg authored Jan 29, 2024
1 parent b149550 commit 1722310
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions actors/miner/tests/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ impl ActorHarness {
{
continue;
}
let pieces: Vec<(Cid, u64)> = sm.pieces.iter().map(|p| (p.cid, p.size.0)).collect();
let pieces = sm.pieces.iter().map(|p| (p.cid, p.size.0)).collect();
expect_sector_event(
rt,
"sector-activated",
Expand Down Expand Up @@ -1559,7 +1559,8 @@ impl ActorHarness {
{
continue;
}
let pieces: Vec<(Cid, u64)> = sm.pieces.iter().map(|p| (p.cid, p.size.0)).collect();
let pieces = sm.pieces.iter().map(|p| (p.cid, p.size.0)).collect();

expect_sector_event(
rt,
"sector-updated",
Expand Down

0 comments on commit 1722310

Please sign in to comment.