From 8934c466799f5c7e43b8af060570cd1a9e92df25 Mon Sep 17 00:00:00 2001 From: Carl Fredrik Samson Date: Fri, 10 Apr 2020 21:10:48 +0200 Subject: [PATCH] fixed imports in futures example --- src/6_future_example.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/6_future_example.md b/src/6_future_example.md index 2f90da1..e888292 100644 --- a/src/6_future_example.md +++ b/src/6_future_example.md @@ -24,7 +24,7 @@ Let's start off by getting all our imports right away so you can follow along ```rust, noplaypen, ignore use std::{ future::Future, pin::Pin, sync::{ mpsc::{channel, Sender}, Arc, Mutex,}, - task::{Context, Poll, RawWaker, RawWakerVTable, Waker}, + task::{Context, Poll, RawWaker, RawWakerVTable, Waker}, mem, thread::{self, JoinHandle}, time::{Duration, Instant}, collections::HashMap }; ```