diff options
Diffstat (limited to 'ext/http/lib.rs')
-rw-r--r-- | ext/http/lib.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/http/lib.rs b/ext/http/lib.rs index 8221a6b0d..ba6d73d5c 100644 --- a/ext/http/lib.rs +++ b/ext/http/lib.rs @@ -34,7 +34,6 @@ use std::borrow::Cow; use std::cell::RefCell; use std::future::Future; use std::net::SocketAddr; -use std::path::PathBuf; use std::pin::Pin; use std::rc::Rc; use std::task::Context; @@ -45,10 +44,6 @@ use tokio::io::AsyncWrite; use tokio::sync::oneshot; use tokio_util::io::StreamReader; -pub fn get_unstable_declaration() -> PathBuf { - PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("lib.deno_http.unstable.d.ts") -} - pub fn init() -> Extension { Extension::builder() .js(include_js_files!( |