Skip to content

Commit

Permalink
docs: typo in README.md (#295)
Browse files Browse the repository at this point in the history
Dynamic diagnostics example contains a macro invocation without a '!' symbol.
  • Loading branch information
tversteeg authored Sep 29, 2023
1 parent 06b3482 commit ba31328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ then you may want to use [`miette!`], [`diagnostic!`] macros or

let source = "2 + 2 * 2 = 8".to_string();
let report = miette!(
labels = vec[
labels = vec![
LabeledSpan::at(12..13, "this should be 6"),
],
help = "'*' has greater precedence than '+'",
Expand Down

0 comments on commit ba31328

Please sign in to comment.