mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-06-23 00:28:46 +02:00
Merge pull request #1641 from mo8it/move-semantics5-test
Convert exercises with assertions to tests
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user