Skip to content

Commit c035688

Browse files
Fix a small typo in errors (#594)
Looks like `chracter` was probably meant to be `character`. Tests still pass after this. I didn't see any other guidelines I should follow in `CONTRIBUTING.md`, but let me know if there's any other validation I should do.
1 parent 289eb1b commit c035688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ pub fn ixdtf_error_to_static_string(error: ParseError) -> &'static str {
302302

303303
ParseError::InvalidDayRange => "Parsed day value not in a valid range.",
304304

305-
ParseError::DateYear => "Invalid chracter while parsing year value.",
305+
ParseError::DateYear => "Invalid character while parsing year value.",
306306

307307
ParseError::DateExtendedYear => "Invalid character while parsing extended year value.",
308308

0 commit comments

Comments
 (0)