Skip to content

Commit da7313f

Browse files
committed
Fix build breaking since #40
1 parent ed8f828 commit da7313f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

objc2_foundation/examples/basic_usage.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fn main() {
1414
// Create an NSArray from a Vec
1515
let objs = vec![obj, obj2];
1616
let array = NSArray::from_vec(objs);
17-
for obj in array.object_enumerator() {
17+
for obj in array.iter() {
1818
println!("{:?}", obj);
1919
}
2020
println!("{}", array.len());

0 commit comments

Comments
 (0)