diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2022-03-16 00:33:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-16 00:33:46 +0100 |
commit | bd481bf095f920a419ea55543f911e087f98f36f (patch) | |
tree | b4f97aabfd3734770c5367b1253511a02d86af87 /ext/url/lib.rs | |
parent | 672f66dde1f7ec87282d37e10cac2cdd36e5f181 (diff) |
feat(ops): optional OpState (#13954)
Diffstat (limited to 'ext/url/lib.rs')
-rw-r--r-- | ext/url/lib.rs | 4 |
1 files changed, 0 insertions, 4 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()) |