mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 09:31:34 +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};
|
/// use agb::display::object::{OamIterator, ObjectUnmanaged};
|
||||||
///
|
///
|
||||||
/// fn write_to_oam(oam_iterator: OamIterator, objects: &[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);
|
/// slot.set(&object);
|
||||||
/// }
|
/// }
|
||||||
/// }
|
/// }
|
||||||
|
|
Loading…
Reference in a new issue