mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
correct doc test
This commit is contained in:
parent
6417570a51
commit
7e1f996d90
|
@ -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);
|
||||
/// }
|
||||
/// }
|
||||
|
|
Loading…
Reference in a new issue