Ruby: remove redundant closure

This commit is contained in:
Nick Rolfe
2021-12-02 16:29:59 +00:00
parent 19c34be1ea
commit 976faf97d1

View File

@@ -427,7 +427,7 @@ fn dbscheme_name_to_class_name(dbscheme_name: &str) -> String {
}
dbscheme_name
.split('_')
.map(|word| to_title_case(word))
.map(to_title_case)
.collect::<Vec<String>>()
.join("")
}