From 4e3ed37037a2aa1edeac260dc3463a81d9cf9b88 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Mon, 14 Mar 2022 09:08:54 +0530 Subject: chore: improve build times for `ext/` changes (#13927) --- ext/websocket/lib.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ext/websocket/lib.rs') diff --git a/ext/websocket/lib.rs b/ext/websocket/lib.rs index 3384a8f9c..76ca92136 100644 --- a/ext/websocket/lib.rs +++ b/ext/websocket/lib.rs @@ -33,7 +33,6 @@ use std::borrow::Cow; use std::cell::RefCell; use std::convert::TryFrom; use std::fmt; -use std::path::PathBuf; use std::rc::Rc; use std::sync::Arc; use tokio::net::TcpStream; @@ -507,10 +506,6 @@ pub fn init( .build() } -pub fn get_declaration() -> PathBuf { - PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("lib.deno_websocket.d.ts") -} - #[derive(Debug)] pub struct DomExceptionNetworkError { pub msg: String, -- cgit v1.2.3