From 0dd19888fdc38516525fe314a7a8d88f809f8319 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Wed, 24 Aug 2022 19:28:17 -0700 Subject: Rename --- src/mem/alloc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mem/alloc.rs') 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 } -- cgit v1.2.1