From bf46193c015b14ea8e47d8e2da7c6d3343173c22 Mon Sep 17 00:00:00 2001 From: WangRunji Date: Tue, 5 Jun 2018 01:34:36 +0800 Subject: [PATCH] Fix imports --- src/sync/mpsc.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sync/mpsc.rs b/src/sync/mpsc.rs index 9c55b0f..8700025 100644 --- a/src/sync/mpsc.rs +++ b/src/sync/mpsc.rs @@ -82,13 +82,13 @@ pub fn channel() -> (Sender, Receiver) { (sender, receiver) } -use alloc::boxed::Box; -use super::*; -use thread; - pub mod test { //! Copied from std::mpsc::test + use alloc::boxed::Box; + use super::*; + use thread; + fn smoke() { let (tx, rx) = channel::(); tx.send(1).unwrap();