Skip to content

Commit 48b6715

Browse files
Format Rust code using rustfmt
1 parent a46ad34 commit 48b6715

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bindings.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,8 +1289,7 @@ pub fn required_additional_duration(
12891289
if desired_total_weighted < existing_amount.saturating_mul(existing_duration) {
12901290
return None;
12911291
}
1292-
let numerator =
1293-
desired_total_weighted - existing_amount.saturating_mul(existing_duration);
1292+
let numerator = desired_total_weighted - existing_amount.saturating_mul(existing_duration);
12941293
Some(numerator / additional_amount)
12951294
}
12961295

0 commit comments

Comments
 (0)