Skip to content

Commit

Permalink
Merged use lines, as per code review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
mdodkins committed Mar 15, 2024
1 parent c437be5 commit 51db68d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions examples/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ use std::sync::Arc;
use argh::FromArgs;
use tokio::io::{copy, split, stdin as tokio_stdin, stdout as tokio_stdout, AsyncWriteExt};
use tokio::net::TcpStream;
use tokio_rustls::rustls;
use tokio_rustls::TlsConnector;
use tokio_rustls::{rustls, TlsConnector};

/// Tokio Rustls client example
#[derive(FromArgs)]
Expand Down
3 changes: 1 addition & 2 deletions examples/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ use pki_types::{CertificateDer, PrivateKeyDer};
use rustls_pemfile::{certs, rsa_private_keys};
use tokio::io::{copy, sink, split, AsyncWriteExt};
use tokio::net::TcpListener;
use tokio_rustls::rustls;
use tokio_rustls::TlsAcceptor;
use tokio_rustls::{rustls, TlsAcceptor};

/// Tokio Rustls server example
#[derive(FromArgs)]
Expand Down

0 comments on commit 51db68d

Please sign in to comment.