mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +00:00
fix(clippy): allow inefficient_to_string lint in test
This commit is contained in:
parent
7b700ccae2
commit
ff40cb8b09
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ mod tests {
|
|||
}
|
||||
|
||||
fn obsolete_result(src: &[&str]) -> Option<Result<Vec<String>, ParseError>> {
|
||||
Some(Ok(src.iter().map(|s| (*s).to_string()).collect()))
|
||||
Some(Ok(src.iter().map(|&s| s.to_string()).collect()))
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue