Skip to content

Commit 3383ac9

Browse files
committed
cargo fmt
1 parent cbf1a70 commit 3383ac9

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

adview-manager/src/manager.rs

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -197,16 +197,13 @@ impl Manager {
197197
.iter()
198198
.find(|c| c.campaign.id == sticky_entry.campaign_id)?;
199199

200-
let unit = stick_campaign
201-
.units_with_price
202-
.iter()
203-
.find_map(|u| {
204-
if u.unit.ipfs == sticky_entry.unit_id {
205-
Some(u.unit.clone())
206-
} else {
207-
None
208-
}
209-
})?;
200+
let unit = stick_campaign.units_with_price.iter().find_map(|u| {
201+
if u.unit.ipfs == sticky_entry.unit_id {
202+
Some(u.unit.clone())
203+
} else {
204+
None
205+
}
206+
})?;
210207

211208
let html = get_unit_html_with_events(
212209
&self.options,

0 commit comments

Comments
 (0)