From 7e1f996d9086ad26622887b7355765a39e2ce20e Mon Sep 17 00:00:00 2001 From: Corwin Date: Sat, 22 Apr 2023 00:40:06 +0100 Subject: [PATCH] correct doc test --- agb/src/display/object/unmanaged/object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); /// } /// }