1
Fork 0
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:
Sylvestre Ledru 2023-02-05 21:23:36 +01:00 committed by GitHub
commit 486defe893
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -174,8 +174,7 @@ impl WordFilter {
} else {
c.to_string()
})
.collect::<Vec<String>>()
.join("")
.collect::<String>()
)
} else if config.gnu_ext {
"\\w+".to_owned()