mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 14:52:41 +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 {
|
||||
c.to_string()
|
||||
})
|
||||
.collect::<Vec<String>>()
|
||||
.join("")
|
||||
.collect::<String>()
|
||||
)
|
||||
} else if config.gnu_ext {
|
||||
"\\w+".to_owned()
|
||||
|
|
Loading…
Reference in a new issue