Skip to content

Commit 94e7f1d

Browse files
chore: cargo fmt
1 parent b59ee2a commit 94e7f1d

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
@@ -344,10 +344,7 @@ impl Default for WrapAlgorithm {
344344
///
345345
/// Apologies to anyone who actually knows how to build a house and
346346
/// knows how long each step takes :-)
347-
pub fn wrap_first_fit<'a, T: Fragment>(
348-
fragments: &'a [T],
349-
line_widths: &[f64],
350-
) -> Vec<&'a [T]> {
347+
pub fn wrap_first_fit<'a, T: Fragment>(fragments: &'a [T], line_widths: &[f64]) -> Vec<&'a [T]> {
351348
// The final line width is used for all remaining lines.
352349
let default_line_width = line_widths.last().copied().unwrap_or(0.0);
353350
let mut lines = Vec::new();

0 commit comments

Comments
 (0)