From 0c690dda8d5eb1b257afb4c74d9c2dfc1f7cc97b Mon Sep 17 00:00:00 2001 From: mtsoltan Date: Mon, 30 Aug 2021 12:54:40 +0200 Subject: [PATCH] Changed display_items to take Vec, which is passed, instead of [PathData] --- src/uu/ls/src/ls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/ls/src/ls.rs b/src/uu/ls/src/ls.rs index 2914b5690..c8da4001f 100644 --- a/src/uu/ls/src/ls.rs +++ b/src/uu/ls/src/ls.rs @@ -1409,7 +1409,7 @@ fn pad_left(string: String, count: usize) -> String { format!("{:>width$}", string, width = count) } -fn display_items(items: &[PathData], config: &Config, out: &mut BufWriter) { +fn display_items(items: &Vec, config: &Config, out: &mut BufWriter) { if config.format == Format::Long { let (mut max_links, mut max_width) = (1, 1); let mut total_size = 0;