aboutsummaryrefslogtreecommitdiff
path: root/macros/src/syntax.rs
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src/syntax.rs')
-rw-r--r--macros/src/syntax.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/src/syntax.rs b/macros/src/syntax.rs
index 7f87f633..228d9588 100644
--- a/macros/src/syntax.rs
+++ b/macros/src/syntax.rs
@@ -1039,10 +1039,10 @@ fn parse_args(
}
let value = lit.value();
- if value > u64::from(u8::MAX) {
+ if value > u64::from(u8::MAX) || value == 0 {
return Err(parse::Error::new(
lit.span(),
- "this literal must be in the range 0...255",
+ "this literal must be in the range 1...255",
));
}
-scheme * Remove theme store 2023-06-11refactor(c-input-text): force usage of props with defaultGravatar Corentin Thomasset 1-2/+1 2023-06-10refactor(naming): prevent auto import conflicts for git memoGravatar Corentin Thomasset 3-2/+3 2023-06-10refactor(imports): removed unnecessary imports to vueGravatar Corentin Thomasset 59-59/+17