update docs
This commit is contained in:
parent
e8c798481d
commit
d376da4d9b
@ -479,14 +479,14 @@ pub mod heapless_mod {
|
|||||||
///
|
///
|
||||||
/// let mut mem_pool: StaticHeaplessMemoryPool<2> = StaticHeaplessMemoryPool::new(true);
|
/// let mut mem_pool: StaticHeaplessMemoryPool<2> = StaticHeaplessMemoryPool::new(true);
|
||||||
/// mem_pool.grow(
|
/// mem_pool.grow(
|
||||||
/// unsafe { SUBPOOL_SMALL.get_mut() },
|
/// SUBPOOL_SMALL.get_mut().unwrap(),
|
||||||
/// unsafe { SUBPOOL_SMALL_SIZES.get_mut() },
|
/// SUBPOOL_SMALL_SIZES.get_mut().unwrap(),
|
||||||
/// SUBPOOL_SMALL_NUM_BLOCKS,
|
/// SUBPOOL_SMALL_NUM_BLOCKS,
|
||||||
/// false
|
/// false
|
||||||
/// ).unwrap();
|
/// ).unwrap();
|
||||||
/// mem_pool.grow(
|
/// mem_pool.grow(
|
||||||
/// unsafe { SUBPOOL_LARGE.get_mut() },
|
/// SUBPOOL_LARGE.get_mut().unwrap(),
|
||||||
/// unsafe { SUBPOOL_LARGE_SIZES.get_mut() },
|
/// SUBPOOL_LARGE_SIZES.get_mut().unwrap(),
|
||||||
/// SUBPOOL_LARGE_NUM_BLOCKS,
|
/// SUBPOOL_LARGE_NUM_BLOCKS,
|
||||||
/// false
|
/// false
|
||||||
/// ).unwrap();
|
/// ).unwrap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user