Skip to content

Commit

Permalink
chore: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Sep 29, 2024
1 parent b59ee2a commit 94e7f1d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/wrap_algorithms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,7 @@ impl Default for WrapAlgorithm {
///
/// Apologies to anyone who actually knows how to build a house and
/// knows how long each step takes :-)
pub fn wrap_first_fit<'a, T: Fragment>(
fragments: &'a [T],
line_widths: &[f64],
) -> Vec<&'a [T]> {
pub fn wrap_first_fit<'a, T: Fragment>(fragments: &'a [T], line_widths: &[f64]) -> Vec<&'a [T]> {
// The final line width is used for all remaining lines.
let default_line_width = line_widths.last().copied().unwrap_or(0.0);
let mut lines = Vec::new();
Expand Down

0 comments on commit 94e7f1d

Please sign in to comment.