summaryrefslogtreecommitdiff
path: root/ext/url
diff options
context:
space:
mode:
Diffstat (limited to 'ext/url')
-rw-r--r--ext/url/lib.rs4
-rw-r--r--ext/url/urlpattern.rs2
2 files changed, 0 insertions, 6 deletions
diff --git a/ext/url/lib.rs b/ext/url/lib.rs
index 4187b7664..0fa389fb0 100644
--- a/ext/url/lib.rs
+++ b/ext/url/lib.rs
@@ -58,7 +58,6 @@ type UrlParts = String;
/// optional part to "set" after parsing. Return `UrlParts`.
#[op]
pub fn op_url_parse(
- _state: &mut deno_core::OpState,
href: String,
base_href: Option<String>,
) -> Result<UrlParts, AnyError> {
@@ -92,7 +91,6 @@ pub enum UrlSetter {
#[op]
pub fn op_url_reparse(
- _state: &mut deno_core::OpState,
href: String,
setter_opts: (UrlSetter, String),
) -> Result<UrlParts, AnyError> {
@@ -162,7 +160,6 @@ fn url_result(
#[op]
pub fn op_url_parse_search_params(
- _state: &mut deno_core::OpState,
args: Option<String>,
zero_copy: Option<ZeroCopyBuf>,
) -> Result<Vec<(String, String)>, AnyError> {
@@ -182,7 +179,6 @@ pub fn op_url_parse_search_params(
#[op]
pub fn op_url_stringify_search_params(
- _state: &mut deno_core::OpState,
args: Vec<(String, String)>,
) -> Result<String, AnyError> {
let search = form_urlencoded::Serializer::new(String::new())
diff --git a/ext/url/urlpattern.rs b/ext/url/urlpattern.rs
index 4e6b4e4a0..99fd21664 100644
--- a/ext/url/urlpattern.rs
+++ b/ext/url/urlpattern.rs
@@ -9,7 +9,6 @@ use urlpattern::quirks::UrlPattern;
#[op]
pub fn op_urlpattern_parse(
- _state: &mut deno_core::OpState,
input: StringOrInit,
base_url: Option<String>,
) -> Result<UrlPattern, AnyError> {
@@ -27,7 +26,6 @@ pub fn op_urlpattern_parse(
#[op]
pub fn op_urlpattern_process_match_input(
- _state: &mut deno_core::OpState,
input: StringOrInit,
base_url: Option<String>,
) -> Result<Option<(MatchInput, quirks::Inputs)>, AnyError> {