fix(deps): Back out "feat(deps): bump miette to 7.4.0"

Fixes: https://github.com/kdl-org/kdl-rs/issues/97

This backs out commit b5fa2e1c70.

Turns out this was a breaking change, so undoing it.
This commit is contained in:
Kat Marchán 2024-12-15 18:23:51 -08:00
parent b3dfacba7e
commit 337e6ec339
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
2 changed files with 2 additions and 2 deletions

View File

@ -15,6 +15,6 @@ default = ["span"]
span = []
[dependencies]
miette = "7.4.0"
miette = "5.3.0"
nom = { version = "7.1.1", default-features = false }
thiserror = "1.0.30"

View File

@ -286,7 +286,7 @@ fn plain_identifier<'a: 'b, 'b>(
fn quoted_identifier<'a: 'b, 'b>(
kdl_parser: &'b KdlParser<'a>,
) -> impl Fn(&'a str) -> IResult<&'a str, KdlIdentifier, KdlParseError<&'a str>> + 'b {
) -> impl Fn(&'a str) -> IResult<&str, KdlIdentifier, KdlParseError<&str>> + 'b {
move |input| {
let start = input;
let (input, (raw, val)) = alt((string, raw_string))(input)?;