summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/Cargo.toml2
-rw-r--r--core/bindings.rs2
-rw-r--r--core/error.rs2
-rw-r--r--core/examples/http_bench_json_ops.rs1
-rw-r--r--core/modules.rs1
-rw-r--r--core/runtime.rs1
6 files changed, 1 insertions, 8 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 089826ec6..0d3102988 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -3,7 +3,7 @@
name = "deno_core"
version = "0.105.0"
authors = ["the Deno authors"]
-edition = "2018"
+edition = "2021"
license = "MIT"
readme = "README.md"
repository = "https://github.com/denoland/deno"
diff --git a/core/bindings.rs b/core/bindings.rs
index 2ba8059a0..d1b01c2d9 100644
--- a/core/bindings.rs
+++ b/core/bindings.rs
@@ -17,8 +17,6 @@ use serde::Deserialize;
use serde::Serialize;
use serde_v8::to_v8;
use std::cell::RefCell;
-use std::convert::TryFrom;
-use std::convert::TryInto;
use std::option::Option;
use url::Url;
use v8::HandleScope;
diff --git a/core/error.rs b/core/error.rs
index b94b7f192..793a42603 100644
--- a/core/error.rs
+++ b/core/error.rs
@@ -4,8 +4,6 @@ pub use anyhow::anyhow;
pub use anyhow::bail;
pub use anyhow::Context;
use std::borrow::Cow;
-use std::convert::TryFrom;
-use std::convert::TryInto;
use std::error::Error;
use std::fmt;
use std::fmt::Debug;
diff --git a/core/examples/http_bench_json_ops.rs b/core/examples/http_bench_json_ops.rs
index 5989a472f..749f40485 100644
--- a/core/examples/http_bench_json_ops.rs
+++ b/core/examples/http_bench_json_ops.rs
@@ -10,7 +10,6 @@ use deno_core::Resource;
use deno_core::ResourceId;
use deno_core::ZeroCopyBuf;
use std::cell::RefCell;
-use std::convert::TryFrom;
use std::env;
use std::io::Error;
use std::net::SocketAddr;
diff --git a/core/modules.rs b/core/modules.rs
index ba7db507e..dc2e5bb32 100644
--- a/core/modules.rs
+++ b/core/modules.rs
@@ -16,7 +16,6 @@ use std::cell::RefCell;
use std::collections::HashMap;
use std::collections::HashSet;
use std::collections::VecDeque;
-use std::convert::TryFrom;
use std::future::Future;
use std::pin::Pin;
use std::rc::Rc;
diff --git a/core/runtime.rs b/core/runtime.rs
index 327662e7c..80221295d 100644
--- a/core/runtime.rs
+++ b/core/runtime.rs
@@ -29,7 +29,6 @@ use futures::task::AtomicWaker;
use std::any::Any;
use std::cell::RefCell;
use std::collections::HashMap;
-use std::convert::TryFrom;
use std::ffi::c_void;
use std::mem::forget;
use std::option::Option;