From 51ceed860b6f562c70fb09ae1c7173a9eb14473c Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 1 Aug 2023 17:30:19 -0400 Subject: chore: fix windows clippy errors (#20014) --- runtime/ops/tty.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'runtime/ops') diff --git a/runtime/ops/tty.rs b/runtime/ops/tty.rs index c77d0ee99..b24c9d893 100644 --- a/runtime/ops/tty.rs +++ b/runtime/ops/tty.rs @@ -1,7 +1,6 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::io::Error; -use std::rc::Rc; use deno_core::error::AnyError; use deno_core::op; @@ -18,7 +17,9 @@ use std::collections::HashMap; #[cfg(unix)] #[derive(Default, Clone)] -struct TtyModeStore(Rc>>); +struct TtyModeStore( + std::rc::Rc>>, +); #[cfg(unix)] impl TtyModeStore { @@ -35,8 +36,6 @@ impl TtyModeStore { } } -#[cfg(windows)] -use deno_core::error::custom_error; #[cfg(windows)] use winapi::shared::minwindef::DWORD; #[cfg(windows)] -- cgit v1.2.3