Skip to content

Commit ef41b96

Browse files
committed
fix: init syntax err in readme doc
1 parent 001b08e commit ef41b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To use buddy_system_allocator for global allocator:
1313
use buddy_system_allocator::LockedHeap;
1414

1515
#[global_allocator]
16-
static HEAP_ALLOCATOR: LockedHeap = LockedHeap::<33>::empty();
16+
static HEAP_ALLOCATOR: LockedHeap<32> = LockedHeap::empty();
1717
```
1818

1919
To init the allocator:

0 commit comments

Comments
 (0)