From e85baee30b182145d64bc8c6959ce2e8fd1c397f Mon Sep 17 00:00:00 2001 From: Per Lindgren Date: Fri, 12 Mar 2021 02:08:46 +0100 Subject: more examples --- examples/cfg-whole-task.rs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'examples/cfg-whole-task.rs') 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)] -- cgit v1.2.3