From 03e156b9fa991344d0fe5fb29943b37eb7ea50dd Mon Sep 17 00:00:00 2001 From: Thomas Versteeg Date: Fri, 29 Sep 2023 07:42:02 +0000 Subject: [PATCH] docs: typo in README.md Dynamic diagnostics example contains a macro invocation without a '!' symbol. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7aabe99..7d73ba3 100644 --- a/README.md +++ b/README.md @@ -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 '+'",