We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d05e58 commit 09cb1dcCopy full SHA for 09cb1dc
src/wrap_algorithms.rs
@@ -333,10 +333,7 @@ impl Default for WrapAlgorithm {
333
///
334
/// Apologies to anyone who actually knows how to build a house and
335
/// 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]> {
+pub fn wrap_first_fit<'a, T: Fragment>(fragments: &'a [T], line_widths: &[f64]) -> Vec<&'a [T]> {
340
// The final line width is used for all remaining lines.
341
let default_line_width = line_widths.last().copied().unwrap_or(0.0);
342
let mut lines = Vec::new();
0 commit comments