From 5ef60943070f93fcba00f4c540425cb3e572f70b Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 30 Jan 2023 15:37:51 +0100 Subject: [PATCH] Switch to 2021 edition --- Cargo.toml | 2 +- src/connector.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7cd3f91..7f74f61 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "hyper-rustls" version = "0.23.2" -edition = "2018" +edition = "2021" rust-version = "1.57" license = "Apache-2.0/ISC/MIT" readme = "README.md" diff --git a/src/connector.rs b/src/connector.rs index 59beae2..f10fbd1 100644 --- a/src/connector.rs +++ b/src/connector.rs @@ -1,4 +1,3 @@ -use std::convert::TryFrom; use std::future::Future; use std::pin::Pin; use std::sync::Arc;