diff options
author | Christian Cunningham <cc@localhost> | 2022-08-24 19:28:17 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-08-24 19:28:17 -0700 |
commit | 0dd19888fdc38516525fe314a7a8d88f809f8319 (patch) | |
tree | 7b37d96a360e1781fffdaf4f7dbe8fb3b32b30dc /src/mem | |
parent | 68149e991454dc880ceb1f7324e118795625d863 (diff) |
Rename
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/alloc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/alloc.rs b/src/mem/alloc.rs index 307be5c..a98e680 100644 --- a/src/mem/alloc.rs +++ b/src/mem/alloc.rs @@ -303,7 +303,7 @@ pub static ALLOCATOR: GrandAllocator = GrandAllocator{}; /// # Global Allocator /// /// Returns a borrow for the Global Allocator -pub fn alloc() -> &'static crate::mem::alloc::GrandAllocator { +pub fn allocator() -> &'static crate::mem::alloc::GrandAllocator { vprintln!("AL: Getting global allocator!"); &crate::mem::alloc::ALLOCATOR } |