Skip to content

Commit 09cb1dc

Browse files
waywardmonkeysmgeisler
authored andcommitted
chore: cargo fmt
1 parent 3d05e58 commit 09cb1dc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/wrap_algorithms.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,10 +333,7 @@ impl Default for WrapAlgorithm {
333333
///
334334
/// Apologies to anyone who actually knows how to build a house and
335335
/// knows how long each step takes :-)
336-
pub fn wrap_first_fit<'a, T: Fragment>(
337-
fragments: &'a [T],
338-
line_widths: &[f64],
339-
) -> Vec<&'a [T]> {
336+
pub fn wrap_first_fit<'a, T: Fragment>(fragments: &'a [T], line_widths: &[f64]) -> Vec<&'a [T]> {
340337
// The final line width is used for all remaining lines.
341338
let default_line_width = line_widths.last().copied().unwrap_or(0.0);
342339
let mut lines = Vec::new();

0 commit comments

Comments
 (0)