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/url/lib.rs | |
parent | 6a635345ef46d6446960aef3333dfc8ac531b5be (diff) |
chore: improve build times for `ext/` changes (#13927)
Diffstat (limited to 'ext/url/lib.rs')
-rw-r--r-- | ext/url/lib.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/url/lib.rs b/ext/url/lib.rs index a36c14608..f8d659f00 100644 --- a/ext/url/lib.rs +++ b/ext/url/lib.rs @@ -14,7 +14,6 @@ use deno_core::url::Url; use deno_core::Extension; use deno_core::ZeroCopyBuf; use std::panic::catch_unwind; -use std::path::PathBuf; use crate::urlpattern::op_urlpattern_parse; use crate::urlpattern::op_urlpattern_process_match_input; @@ -197,7 +196,3 @@ pub fn op_url_stringify_search_params( .finish(); Ok(search) } - -pub fn get_declaration() -> PathBuf { - PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("lib.deno_url.d.ts") -} |