mirror of https://github.com/zkat/miette.git
more typo
This commit is contained in:
parent
35a904e481
commit
4c0626a3df
|
|
@ -648,7 +648,7 @@ then you may want to use [`miette!`], [`diagnostic!`] macros or
|
||||||
|
|
||||||
let source = "2 + 2 * 2 = 8".to_string();
|
let source = "2 + 2 * 2 = 8".to_string();
|
||||||
let report = miette!(
|
let report = miette!(
|
||||||
labels = vec[
|
labels = vec![
|
||||||
LabeledSpan::at(12..13, "this should be 6"),
|
LabeledSpan::at(12..13, "this should be 6"),
|
||||||
],
|
],
|
||||||
help = "'*' has greater precedence than '+'",
|
help = "'*' has greater precedence than '+'",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue