Skip to content

Commit 55da4af

Browse files
committed
fix(datetime): Remove trailing space in error
1 parent 5c1d9cc commit 55da4af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/toml_datetime/src/datetime.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ impl FromStr for Datetime {
372372
if year.raw.len() != 4 {
373373
return Err(DatetimeParseError::new()
374374
.what("date")
375-
.expected("a four-digit year (YYYY) "));
375+
.expected("a four-digit year (YYYY)"));
376376
}
377377
if month.raw.len() != 2 {
378378
return Err(DatetimeParseError::new()

0 commit comments

Comments
 (0)