fix compiler warnings (#2699)

* fix compiler warnings

* fix import
This commit is contained in:
PSeitz-dd
2025-09-19 15:55:04 +02:00
committed by GitHub
parent 71a26d5b24
commit 2340dca628
13 changed files with 16 additions and 61 deletions

View File

@@ -68,7 +68,7 @@ fn interpret_escape(source: &str) -> String {
/// Consume a word outside of any context.
// TODO should support escape sequences
fn word(inp: &str) -> IResult<&str, Cow<str>> {
fn word(inp: &str) -> IResult<&str, Cow<'_, str>> {
map_res(
recognize(tuple((
alt((