Skip to content

Commit de23676

Browse files
committed
Fix warning introduced in recent objective-c work.
1 parent 117e2a1 commit de23676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3717,7 +3717,7 @@ impl CodeGenerator for ObjCInterface {
37173717
}
37183718

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

37223722
for class_method in self.class_methods() {
37233723
let ambiquity =

0 commit comments

Comments
 (0)