Skip to content

Commit

Permalink
fix nightly lint failing the CI pipelines (#541)
Browse files Browse the repository at this point in the history
chore: fix new nightly lint in rsonpath-syntax
  • Loading branch information
V0ldek authored Sep 15, 2024
1 parent 71ee7f4 commit 02bb171
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions crates/rsonpath-syntax/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -739,8 +739,8 @@ fn int(q: &str) -> IResult<&str, &str, InternalParseError> {
Ok((rest, int))
}

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

0 comments on commit 02bb171

Please sign in to comment.