Skip to content

Commit

Permalink
Update src/utils.rs
Browse files Browse the repository at this point in the history
Co-authored-by: ThetaSinner <[email protected]>
  • Loading branch information
c12i and ThetaSinner authored Dec 24, 2024
1 parent 90d2241 commit baec4f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down

0 comments on commit baec4f2

Please sign in to comment.