mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-05-28 21:27:37 +02:00
Add dependencies to async.md
This commit is contained in:
parent
6f94c9e7a4
commit
37ebf83603
@ -9,8 +9,8 @@ Let's create a class that waits for messages on a channel to rotate an HTML elem
|
||||
|
||||
```rust
|
||||
use wasm_bindgen::prelude::*;
|
||||
use tokio::sync::mpsc::{Sender, channel};
|
||||
use wasm_bindgen_futures::spawn_local;
|
||||
use tokio::sync::mpsc::{channel, Sender};
|
||||
|
||||
#[derive(Debug)]
|
||||
enum RotateSide {
|
||||
|
Loading…
x
Reference in New Issue
Block a user