diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-03-14 09:08:54 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 09:08:54 +0530 |
commit | 4e3ed37037a2aa1edeac260dc3463a81d9cf9b88 (patch) | |
tree | 86a7826e7d5de1e1c6b7f5342a1e2a93ae52ab8b /ext/fetch/lib.rs | |
parent | 6a635345ef46d6446960aef3333dfc8ac531b5be (diff) |
chore: improve build times for `ext/` changes (#13927)
Diffstat (limited to 'ext/fetch/lib.rs')
-rw-r--r-- | ext/fetch/lib.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/fetch/lib.rs b/ext/fetch/lib.rs index 9296fb95c..e1859e8e3 100644 --- a/ext/fetch/lib.rs +++ b/ext/fetch/lib.rs @@ -45,7 +45,6 @@ use std::borrow::Cow; use std::cell::RefCell; use std::convert::From; use std::path::Path; -use std::path::PathBuf; use std::pin::Pin; use std::rc::Rc; use tokio::io::AsyncReadExt; @@ -174,10 +173,6 @@ pub trait FetchPermissions { fn check_read(&mut self, _p: &Path) -> Result<(), AnyError>; } -pub fn get_declaration() -> PathBuf { - PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("lib.deno_fetch.d.ts") -} - #[derive(Deserialize)] #[serde(rename_all = "camelCase")] pub struct FetchArgs { |