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/ffi/Cargo.toml | 2 +- ext/ffi/lib.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/ffi') diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml index 7b8d8f27f..98520ea2e 100644 --- a/ext/ffi/Cargo.toml +++ b/ext/ffi/Cargo.toml @@ -4,7 +4,7 @@ name = "deno_ffi" version = "0.10.0" authors = ["the Deno authors"] -edition = "2018" +edition = "2021" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs index f1e593296..a21601e3b 100644 --- a/ext/ffi/lib.rs +++ b/ext/ffi/lib.rs @@ -18,7 +18,6 @@ use serde::Deserialize; use std::borrow::Cow; use std::cell::RefCell; use std::collections::HashMap; -use std::convert::TryFrom; use std::ffi::c_void; use std::path::Path; use std::path::PathBuf; -- cgit v1.2.3