Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cormacrelf committed Jul 8, 2021
1 parent c534e34 commit 803d0d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bindgen/ir/enumeration.rs
Expand Up @@ -328,8 +328,7 @@ impl Enum {
config
.enumeration
.swift_enum_macro
.as_ref()
.map(|x| x.as_str())
.as_deref()
} else {
None
}
Expand Down

0 comments on commit 803d0d1

Please sign in to comment.