mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +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 {
|
} 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…
Add table
Add a link
Reference in a new issue