diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-04-04 13:41:16 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 22:41:16 -0400 |
commit | f5274072870558973f70b7fad30c078647790d6c (patch) | |
tree | 604e22e18315ed44adad980c2a42f46aeafbf076 /cli/ops/tls.rs | |
parent | 0db04d6a429eb498e854a5fc1ef905b87dea5e4d (diff) |
clippy (#4618)
Diffstat (limited to 'cli/ops/tls.rs')
-rw-r--r-- | cli/ops/tls.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/ops/tls.rs b/cli/ops/tls.rs index 642284ea2..a27d473da 100644 --- a/cli/ops/tls.rs +++ b/cli/ops/tls.rs @@ -7,7 +7,6 @@ use crate::state::State; use deno_core::*; use futures::future::poll_fn; use futures::future::FutureExt; -use std; use std::convert::From; use std::fs::File; use std::io::BufReader; @@ -16,7 +15,6 @@ use std::path::Path; use std::sync::Arc; use std::task::Context; use std::task::Poll; -use tokio; use tokio::net::TcpListener; use tokio::net::TcpStream; use tokio_rustls::{rustls::ClientConfig, TlsConnector}; @@ -27,9 +25,7 @@ use tokio_rustls::{ }, TlsAcceptor, }; -use webpki; use webpki::DNSNameRef; -use webpki_roots; pub fn init(i: &mut Isolate, s: &State) { i.register_op("op_connect_tls", s.stateful_json_op(op_connect_tls)); |