1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-05-29 05:37:37 +02:00

Add dependencies to async.md

This commit is contained in:
sakex 2023-08-08 08:59:57 +00:00
parent 6f94c9e7a4
commit 37ebf83603

View File

@ -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 {