Skip to content

Commit 6b00a37

Browse files
paldepindCopilot
andcommitted
Fix all results of the Clippy lint unnecessary_join
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e4429304-eb0c-4b7d-9675-11e1eabfd0b8
1 parent b03995f commit 6b00a37

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎shared/tree-sitter-extractor/src/node_types.rs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,7 @@ fn dbscheme_name_to_class_name(dbscheme_name: &str) -> String {
476476
dbscheme_name
477477
.split('_')
478478
.map(to_title_case)
479-
.collect::<Vec<String>>()
480-
.join("")
479+
.collect::<String>()
481480
}
482481

483482
#[test]

0 commit comments

Comments
 (0)