diff --git a/agb/src/display/object/unmanaged/object.rs b/agb/src/display/object/unmanaged/object.rs index fc9fd4ac..fb5a42ef 100644 --- a/agb/src/display/object/unmanaged/object.rs +++ b/agb/src/display/object/unmanaged/object.rs @@ -56,7 +56,7 @@ pub struct OamUnmanaged<'gba> { /// use agb::display::object::{OamIterator, ObjectUnmanaged}; /// /// fn write_to_oam(oam_iterator: OamIterator, objects: &[ObjectUnmanaged]) { -/// for (slot, object) in oam_iterator.iter().zip(objects.iter()) { +/// for (slot, object) in oam_iterator.zip(objects.iter()) { /// slot.set(&object); /// } /// }