From c3ef358c01956bfa44a7427a2548943c3f045138 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 16 Sep 2020 12:50:16 -0400 Subject: Remove unnecessary extern statements --- cli/ops/io.rs | 3 --- cli/ops/runtime_compiler.rs | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'cli/ops') diff --git a/cli/ops/io.rs b/cli/ops/io.rs index 8f8d9fc26..0992f768b 100644 --- a/cli/ops/io.rs +++ b/cli/ops/io.rs @@ -30,9 +30,6 @@ use std::os::unix::io::FromRawFd; #[cfg(windows)] use std::os::windows::io::FromRawHandle; -#[cfg(windows)] -extern crate winapi; - lazy_static! { /// Due to portability issues on Windows handle to stdout is created from raw /// file descriptor. The caveat of that approach is fact that when this diff --git a/cli/ops/runtime_compiler.rs b/cli/ops/runtime_compiler.rs index fe1b4d9e1..708a60cfa 100644 --- a/cli/ops/runtime_compiler.rs +++ b/cli/ops/runtime_compiler.rs @@ -1,12 +1,12 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -use crate::futures::FutureExt; use crate::tsc::runtime_bundle; use crate::tsc::runtime_compile; use crate::tsc::runtime_transpile; use deno_core::error::AnyError; use deno_core::BufVec; use deno_core::OpState; +use futures::FutureExt; use serde::Deserialize; use serde_json::Value; use std::cell::RefCell; -- cgit v1.2.3