mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-05-23 19:00:13 +02:00
remove log from async.md
This commit is contained in:
parent
f7d791fac7
commit
9b00ca4211
@ -27,7 +27,6 @@ impl Rotator {
|
|||||||
spawn_local(async move {
|
spawn_local(async move {
|
||||||
let mut rotation = 0;
|
let mut rotation = 0;
|
||||||
while let Some(rotate_side) = receiver.recv().await {
|
while let Some(rotate_side) = receiver.recv().await {
|
||||||
log(&format!("Rotation: {}", rotation));
|
|
||||||
match rotate_side {
|
match rotate_side {
|
||||||
RotateSide::Left => rotation -= 45,
|
RotateSide::Left => rotation -= 45,
|
||||||
RotateSide::Right => rotation += 45,
|
RotateSide::Right => rotation += 45,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user