Skip to content

Commit 5e222e6

Browse files
Update main.rs
updated code according to errata
1 parent 63543e2 commit 5e222e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ch07/a-coroutine/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use std::{
22
thread,
33
time::Duration,
4+
Instant
45
};
56

67
mod future;

0 commit comments

Comments
 (0)