From b39b6f43b3e960751a277ee5bab9a6b294aa93ea Mon Sep 17 00:00:00 2001 From: Corwin Date: Sat, 30 Jul 2022 22:49:26 +0100 Subject: [PATCH] correct end address of range --- agb/src/agb_alloc/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agb/src/agb_alloc/mod.rs b/agb/src/agb_alloc/mod.rs index 83a3c1b8..22230650 100644 --- a/agb/src/agb_alloc/mod.rs +++ b/agb/src/agb_alloc/mod.rs @@ -81,7 +81,7 @@ pub static EWRAM_ALLOC: &BlockAllocator = &GLOBAL_ALLOC; /// let mut v = Vec::new_in(IWRAM_ALLOC); /// v.push("hello, world"); /// assert!( -/// (0x0300_0000..0x0200_8000).contains(&(v.as_ptr() as usize)), +/// (0x0300_0000..0x0300_8000).contains(&(v.as_ptr() as usize)), /// "the address of the vector is inside iwram" /// ); /// # }