From 49d17f95871a3a97d0391df45a5f927dc5823dde Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Sat, 8 Aug 2020 22:59:14 -0500 Subject: [PATCH] tests ~ (sub-crate/od) fix compiler error (mismatched types) --- src/uu/od/src/parse_formats.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/od/src/parse_formats.rs b/src/uu/od/src/parse_formats.rs index 930724d01..61be92c40 100644 --- a/src/uu/od/src/parse_formats.rs +++ b/src/uu/od/src/parse_formats.rs @@ -337,7 +337,7 @@ fn parse_type_string(params: &str) -> Result, Strin pub fn parse_format_flags_str( args_str: &Vec<&'static str>, ) -> Result, String> { - let args = args_str.iter().map(|s| s.to_string()).collect(); + let args: Vec = args_str.iter().map(|s| s.to_string()).collect(); match parse_format_flags(&args) { Err(e) => Err(e), Ok(v) => {