correct doc test

This commit is contained in:
Corwin 2023-04-22 00:40:06 +01:00
parent 6417570a51
commit 7e1f996d90
No known key found for this signature in database

View file

@ -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);
/// }
/// }