Skip to content

Commit

Permalink
review comments: don't replace _ with ' ' any more
Browse files Browse the repository at this point in the history
  • Loading branch information
arpad-m authored and Ten0 committed Mar 3, 2025
1 parent d5eb76b commit a698f98
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions diesel_cli/src/infer_schema_internals/data_structures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,7 @@ impl ColumnType {
if last.ident == "PgLsn" {
"pg_lsn".to_string()
} else {
last.ident
.to_string()
.split("_")
.collect::<Vec<_>>()
.join(" ")
last.ident.to_string()
}
} else if let syn::PathArguments::AngleBracketed(ref args) = last.arguments {
let arg = args.args.first().expect("There is at least one argument");
Expand Down

0 comments on commit a698f98

Please sign in to comment.