mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 20:17:45 +00:00
tests ~ (sub-crate/od) fix compiler error (mismatched types)
This commit is contained in:
parent
4fa27345be
commit
49d17f9587
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ fn parse_type_string(params: &str) -> Result<Vec<ParsedFormatterItemInfo>, Strin
|
|||
pub fn parse_format_flags_str(
|
||||
args_str: &Vec<&'static str>,
|
||||
) -> Result<Vec<FormatterItemInfo>, String> {
|
||||
let args = args_str.iter().map(|s| s.to_string()).collect();
|
||||
let args: Vec<String> = args_str.iter().map(|s| s.to_string()).collect();
|
||||
match parse_format_flags(&args) {
|
||||
Err(e) => Err(e),
|
||||
Ok(v) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue