Skip to content

Commit

Permalink
Fix warning introduced in recent objective-c work.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Jun 7, 2020
1 parent 117e2a1 commit de23676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3717,7 +3717,7 @@ impl CodeGenerator for ObjCInterface {
}

let instance_method_names: Vec<_> =
self.methods().iter().map({ |m| m.rust_name() }).collect();
self.methods().iter().map(|m| m.rust_name()).collect();

for class_method in self.class_methods() {
let ambiquity =
Expand Down

0 comments on commit de23676

Please sign in to comment.