From 8e31bbbe551e95a40a78fd96671916f917218b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 2 Nov 2021 15:03:37 +0100 Subject: chore: update to Rust edition 2021 (#12578) --- ext/crypto/Cargo.toml | 2 +- ext/crypto/lib.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'ext/crypto') diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml index 9d2f6923b..b66911b1b 100644 --- a/ext/crypto/Cargo.toml +++ b/ext/crypto/Cargo.toml @@ -4,7 +4,7 @@ name = "deno_crypto" version = "0.37.0" authors = ["the Deno authors"] -edition = "2018" +edition = "2021" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" diff --git a/ext/crypto/lib.rs b/ext/crypto/lib.rs index d5f95677a..2170e3c72 100644 --- a/ext/crypto/lib.rs +++ b/ext/crypto/lib.rs @@ -14,8 +14,6 @@ use serde::Deserialize; use serde::Serialize; use std::cell::RefCell; -use std::convert::TryFrom; -use std::convert::TryInto; use std::num::NonZeroU32; use std::rc::Rc; -- cgit v1.2.3