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