Skip to content

Commit 37cbabe

Browse files
committed
chore: fix new nightly lint in rsonpath-syntax
1 parent 71ee7f4 commit 37cbabe

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

Cargo.lock

+16-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/rsonpath-syntax/src/parser.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -739,8 +739,8 @@ fn int(q: &str) -> IResult<&str, &str, InternalParseError> {
739739
Ok((rest, int))
740740
}
741741

742-
fn string<'a>(mode: StringParseMode) -> impl FnMut(&'a str) -> IResult<&'a str, JsonString, InternalParseError> {
743-
move |q: &'a str| {
742+
fn string(mode: StringParseMode) -> impl FnMut(&str) -> IResult<&str, JsonString, InternalParseError> {
743+
move |q: &str| {
744744
let mut builder = JsonStringBuilder::new();
745745
let mut syntax_errors = vec![];
746746
let mut stream = q.char_indices().peekable();

0 commit comments

Comments
 (0)