more typo

This commit is contained in:
hzlinyiyu 2024-02-23 10:26:49 +08:00
parent 35a904e481
commit 4c0626a3df
1 changed files with 1 additions and 1 deletions

View File

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