aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf52840/src/bin/manually_create_executor.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-08-29 12:04:29 +0000
committerGitHub <[email protected]>2025-08-29 12:04:29 +0000
commitf86cf87f2f20f723e2ba2fe7d83908a2b3bac2d1 (patch)
tree57f9200ed729746ef5f077af6c79863c37e824ae /examples/nrf52840/src/bin/manually_create_executor.rs
parentdf10e8a6bc407544d29c234ed00bdec3e9caf837 (diff)
parente2c34ac735888d25d57d3ea07e8915c2e112048c (diff)
Merge pull request #4606 from diondokter/taskmeta-update-2
Taskmeta update
Diffstat (limited to 'examples/nrf52840/src/bin/manually_create_executor.rs')
-rw-r--r--examples/nrf52840/src/bin/manually_create_executor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nrf52840/src/bin/manually_create_executor.rs b/examples/nrf52840/src/bin/manually_create_executor.rs
index 7ca39348e..f0639eb23 100644
--- a/examples/nrf52840/src/bin/manually_create_executor.rs
+++ b/examples/nrf52840/src/bin/manually_create_executor.rs
@@ -42,7 +42,7 @@ fn main() -> ! {
42 // `run` calls the closure then runs the executor forever. It never returns. 42 // `run` calls the closure then runs the executor forever. It never returns.
43 executor.run(|spawner| { 43 executor.run(|spawner| {
44 // Here we get access to a spawner to spawn the initial tasks. 44 // Here we get access to a spawner to spawn the initial tasks.
45 unwrap!(spawner.spawn(run1())); 45 spawner.spawn(unwrap!(run1()));
46 unwrap!(spawner.spawn(run2())); 46 spawner.spawn(unwrap!(run2()));
47 }); 47 });
48} 48}