From baec4f26398a50baab6db4644ff25148dac5877c Mon Sep 17 00:00:00 2001 From: Collins Muriuki Date: Tue, 24 Dec 2024 21:51:17 +0300 Subject: [PATCH] Update src/utils.rs Co-authored-by: ThetaSinner --- src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index e0c78373..bb6a00a0 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -169,7 +169,7 @@ pub fn check_case(input: &str, identifier: &str, case: Case) -> ScaffoldResult<( } if input.chars().next().map_or(false, char::is_numeric) { return Err(ScaffoldError::InvalidStringFormat(format!( - "{identifier} must not start with a numeric" + "{identifier} must not start with a number" ))); } Ok(())