diff options
Diffstat (limited to 'examples/tinydb.rs')
-rw-r--r-- | examples/tinydb.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/tinydb.rs b/examples/tinydb.rs index cf867a0a..7c71dedf 100644 --- a/examples/tinydb.rs +++ b/examples/tinydb.rs @@ -42,9 +42,10 @@ #![warn(rust_2018_idioms)] use tokio::net::TcpListener; +use tokio::stream::StreamExt; use tokio_util::codec::{Framed, LinesCodec}; -use futures::{SinkExt, StreamExt}; +use futures::SinkExt; use std::collections::HashMap; use std::env; use std::error::Error; |