summaryrefslogtreecommitdiff
path: root/exercises/threads
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/threads')
-rw-r--r--exercises/threads/threads3.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/exercises/threads/threads3.rs b/exercises/threads/threads3.rs
index db7d41b..91006bb 100644
--- a/exercises/threads/threads3.rs
+++ b/exercises/threads/threads3.rs
@@ -48,6 +48,7 @@ fn send_tx(q: Queue, tx: mpsc::Sender<u32>) -> () {
});
}
+#[test]
fn main() {
let (tx, rx) = mpsc::channel();
let queue = Queue::new();