summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/echo-udp.rs1
-rw-r--r--examples/echo.rs1
-rw-r--r--examples/tinyhttp.rs1
3 files changed, 0 insertions, 3 deletions
diff --git a/examples/echo-udp.rs b/examples/echo-udp.rs
index d8b2af9c..bc688b9b 100644
--- a/examples/echo-udp.rs
+++ b/examples/echo-udp.rs
@@ -15,7 +15,6 @@
use std::error::Error;
use std::net::SocketAddr;
use std::{env, io};
-use tokio;
use tokio::net::UdpSocket;
struct Server {
diff --git a/examples/echo.rs b/examples/echo.rs
index 35b12279..f3068074 100644
--- a/examples/echo.rs
+++ b/examples/echo.rs
@@ -21,7 +21,6 @@
#![warn(rust_2018_idioms)]
-use tokio;
use tokio::io::{AsyncReadExt, AsyncWriteExt};
use tokio::net::TcpListener;
diff --git a/examples/tinyhttp.rs b/examples/tinyhttp.rs
index 732da0d6..4870aea2 100644
--- a/examples/tinyhttp.rs
+++ b/examples/tinyhttp.rs
@@ -18,7 +18,6 @@ use futures::SinkExt;
use http::{header::HeaderValue, Request, Response, StatusCode};
#[macro_use]
extern crate serde_derive;
-use serde_json;
use std::{env, error::Error, fmt, io};
use tokio::net::{TcpListener, TcpStream};
use tokio::stream::StreamExt;