aboutsummaryrefslogtreecommitdiff
path: root/examples/cfg-whole-task.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/cfg-whole-task.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/examples/cfg-whole-task.rs b/examples/cfg-whole-task.rs
index 47c3530e..ac64676d 100644
--- a/examples/cfg-whole-task.rs
+++ b/examples/cfg-whole-task.rs
@@ -48,11 +48,6 @@ mod app {
log::spawn(_cx.resources.count.lock(|count| *count)).unwrap();
}
-
- // this wouldn't compile in `release` mode
- // *_cx.resources.count += 1;
-
- // ..
}
// The whole task should disappear,
@@ -66,11 +61,6 @@ mod app {
log::spawn(_cx.resources.count.lock(|count| *count)).unwrap();
}
-
- // this wouldn't compile in `release` mode
- // *_cx.resources.count += 1;
-
- // ..
}
#[cfg(debug_assertions)]