We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24436c9 commit b3b1bc3Copy full SHA for b3b1bc3
parser/src/parameters.rs
@@ -16,7 +16,7 @@ pub struct Parameters {
16
}
17
18
#[wasm_bindgen]
19
-pub fn parse_query_parameters(query: String) -> Option<Parameters> {
+pub fn parse_query_parameters(query: &str) -> Option<Parameters> {
20
let mut parser = Parser::new(query.as_bytes());
21
let cmd = parser.next().ok()??;
22
0 commit comments