summaryrefslogtreecommitdiff
path: root/ext/url/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/url/lib.rs')
-rw-r--r--ext/url/lib.rs5
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")
-}