summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2020-06-07 20:38:02 +0900
committerGitHub <noreply@github.com>2020-06-07 20:38:02 +0900
commit4010335c84517571e9b2d13f66f7c72170493622 (patch)
treeb06be19d70869ce78455ede878ab56702de5a505 /examples
parentbe4577e22f7d0e899501b67408b5befff5adda29 (diff)
chore: fix ci failure on master (#2593)
* Fix clippy warnings * Pin rustc version to 1.43.1 in macOS Refs: https://github.com/rust-lang/rust/issues/73030
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;