Skip to content

Commit

Permalink
Silence clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lkirkwood committed Apr 21, 2024
1 parent 5e9a0b6 commit abe8ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xsd-parser/src/generator/enum_case.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub trait EnumCaseGenerator {

fn get_name(&self, entity: &EnumCase, _: &Generator) -> String {
sanitize(filter_type_name(
&entity.name.split(':').last().unwrap_or(&entity.name.to_owned()),
entity.name.split(':').last().unwrap_or(&entity.name.to_owned()),
))
}

Expand Down

0 comments on commit abe8ff8

Please sign in to comment.