mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 07:12:44 +00:00
ptx: fix warning from unnecessary_join lint
This commit is contained in:
parent
e6af566c2a
commit
ee261359bd
1 changed files with 1 additions and 2 deletions
|
@ -174,8 +174,7 @@ impl WordFilter {
|
||||||
} else {
|
} else {
|
||||||
c.to_string()
|
c.to_string()
|
||||||
})
|
})
|
||||||
.collect::<Vec<String>>()
|
.collect::<String>()
|
||||||
.join("")
|
|
||||||
)
|
)
|
||||||
} else if config.gnu_ext {
|
} else if config.gnu_ext {
|
||||||
"\\w+".to_owned()
|
"\\w+".to_owned()
|
||||||
|
|
Loading…
Reference in a new issue