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.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/url/lib.rs b/ext/url/lib.rs
index 394fd5902..be229cec5 100644
--- a/ext/url/lib.rs
+++ b/ext/url/lib.rs
@@ -160,13 +160,11 @@ pub fn op_url_parse_search_params(
}
#[op]
-pub fn op_url_stringify_search_params(
- args: Vec<(String, String)>,
-) -> Result<String, AnyError> {
+pub fn op_url_stringify_search_params(args: Vec<(String, String)>) -> String {
let search = form_urlencoded::Serializer::new(String::new())
.extend_pairs(args)
.finish();
- Ok(search)
+ search
}
pub fn get_declaration() -> PathBuf {