docs: typo in README.md (#295)

Dynamic diagnostics example contains a macro invocation without a '!' symbol.
This commit is contained in:
Thomas Versteeg 2023-09-29 13:56:09 +00:00 committed by GitHub
parent 06b348230a
commit ba313282a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 '+'",