From e4eca62e388e4b573aa4bd31c90ad450f84a9bf8 Mon Sep 17 00:00:00 2001 From: Artemy Egorov Date: Mon, 12 Aug 2024 17:58:25 +0300 Subject: [PATCH] fix: heading level error message --- src/daleth/parser/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daleth/parser/mod.rs b/src/daleth/parser/mod.rs index a1d2c32..cd3136f 100644 --- a/src/daleth/parser/mod.rs +++ b/src/daleth/parser/mod.rs @@ -75,7 +75,7 @@ pub fn tag<'tokens, 'src: 'tokens>( Err(_) => { emmiter.emit(Rich::custom( e.span(), - "Heading level must be between 1 and 6", + "Heading level can only take values from 1 to 6", )); Hl::One }