diff --git a/gping/src/main.rs b/gping/src/main.rs index f20ab104a..2a41af7ae 100644 --- a/gping/src/main.rs +++ b/gping/src/main.rs @@ -487,8 +487,7 @@ fn main() -> Result<()> { iter::repeat(Constraint::Length(1)) .take(app.data.len()) .chain(iter::once(Constraint::Percentage(10))) - .collect::>() - .as_ref(), + .collect::>(), ) .split(f.size());