mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-26 20:10:24 +00:00
fix typo
This commit is contained in:
parent
3d3277f6d3
commit
1e1d801b07
@ -254,7 +254,7 @@ fn pool() {
|
||||
|
||||
A::grow(unsafe { &mut M });
|
||||
|
||||
thread::pool(move |scope| {
|
||||
thread::scope(move |scope| {
|
||||
scope.spawn(move || {
|
||||
for _ in 0..N / 4 {
|
||||
let a = A::alloc().unwrap();
|
||||
|
Loading…
x
Reference in New Issue
Block a user