Skip to content

Commit

Permalink
chore: Update winnow
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Feb 13, 2024
1 parent 22ba24a commit de3014e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
15 changes: 12 additions & 3 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion crates/typos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ include.workspace = true
[dependencies]
anyhow = "1.0"
thiserror = "1.0"
winnow = "0.5.40"
winnow = "0.6.0"
unicode-xid = "0.2.4"
once_cell = "1.19.0"
serde = { version = "1.0", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/typos/src/tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ mod parser {
take_while(padding_len..=padding_len, is_base64_padding).parse_next(input)?;

let after_offset = input.offset_from(&start);
input.reset(start);
input.reset(&start);
Ok(input.next_slice(after_offset))
})
.parse_next(input)
Expand Down
2 changes: 1 addition & 1 deletion crates/varcon-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ parser = ["dep:winnow"]
flags = ["dep:enumflags2"]

[dependencies]
winnow = { version = "0.5.40", optional = true }
winnow = { version = "0.6.0", optional = true }
enumflags2 = { version = "0.7", optional = true }

[package.metadata.docs.rs]
Expand Down

0 comments on commit de3014e

Please sign in to comment.