You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-07-07 06:55:42 +02:00
remove log from async.md
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user