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 4c6196d commit c2404e3Copy full SHA for c2404e3
src/parser.rs
@@ -117,7 +117,7 @@ fn parse_sd_id(input: &str) -> ParseResult<(String, &str)> {
117
}
118
119
/** Parse a `param_value`... a.k.a. a quoted string */
120
-fn parse_param_value(input: &str) -> ParseResult<(Cow<str>, &str)> {
+fn parse_param_value(input: &'_ str) -> ParseResult<(Cow<'_, str>, &'_ str)> {
121
let mut rest = input;
122
take_char!(rest, '"');
123
// Can't do a 0-copy &str slice here because we need to un-escape escaped quotes
0 commit comments