mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #4313 from cakebaker/ptx_remove_unnecessary_join
ptx: fix warning from unnecessary_join lint
This commit is contained in:
commit
486defe893
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…
Add table
Add a link
Reference in a new issue