mirror of
https://github.com/notohh/rustlings.git
synced 2025-08-20 00:43:36 -04:00
Merge pull request #1641 from mo8it/move-semantics5-test
Convert exercises with assertions to tests
This commit is contained in:
commit
4d04aad890
6 changed files with 9 additions and 5 deletions
exercises/threads
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue