From 989fcea1d01e25102474b8abbea77f7f78795151 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Sun, 13 Mar 2022 19:43:03 +0000 Subject: [PATCH] Fix typo in exception --- agb/src/display/object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agb/src/display/object.rs b/agb/src/display/object.rs index 5f5276c1..878c8c2b 100644 --- a/agb/src/display/object.rs +++ b/agb/src/display/object.rs @@ -364,7 +364,7 @@ impl ObjectController { } pub fn get_object<'a, 'b>(&'a self, sprite: SpriteBorrow<'b>) -> Object<'b, 'a> { - self.try_get_object(sprite).expect("No object avaliable") + self.try_get_object(sprite).expect("No object available") } pub fn try_get_object<'a, 'b>(&'a self, sprite: SpriteBorrow<'b>) -> Option> {