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) --- cli/Cargo.toml | 2 +- cli/standalone.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'cli') diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 99840d8b0..2e180a494 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -5,7 +5,7 @@ name = "deno" version = "1.15.3" authors = ["the Deno authors"] default-run = "deno" -edition = "2018" +edition = "2021" license = "MIT" repository = "https://github.com/denoland/deno" description = "Provides the deno executable" diff --git a/cli/standalone.rs b/cli/standalone.rs index 819ba10a4..e0190920f 100644 --- a/cli/standalone.rs +++ b/cli/standalone.rs @@ -29,7 +29,6 @@ use deno_runtime::worker::WorkerOptions; use deno_runtime::BootstrapOptions; use deno_tls::create_default_root_cert_store; use log::Level; -use std::convert::TryInto; use std::env::current_exe; use std::fs::File; use std::io::BufReader; -- cgit v1.2.3