1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-05-23 10:50:18 +02:00

remove log from async.md

This commit is contained in:
sakex 2023-07-24 22:12:47 +02:00
parent f7d791fac7
commit 9b00ca4211

View File

@ -27,7 +27,6 @@ impl Rotator {
spawn_local(async move {
let mut rotation = 0;
while let Some(rotate_side) = receiver.recv().await {
log(&format!("Rotation: {}", rotation));
match rotate_side {
RotateSide::Left => rotation -= 45,
RotateSide::Right => rotation += 45,