diff --git a/agb/src/display/object/managed.rs b/agb/src/display/object/managed.rs index 9d99ae2b..bdc62002 100644 --- a/agb/src/display/object/managed.rs +++ b/agb/src/display/object/managed.rs @@ -155,7 +155,7 @@ impl OAMManager<'_> { } } - pub fn do_work_with_sprite_loader(&self, c: C) -> T + fn do_work_with_sprite_loader(&self, c: C) -> T where C: Fn(&mut StaticSpriteLoader) -> T, {