Skip to content

Commit 3df4f02

Browse files
committed
fix suggestion
1 parent b8690b3 commit 3df4f02

File tree

1 file changed

+1
-1
lines changed
  • src/vit-servicing-station/vit-servicing-station-lib/src/utils

1 file changed

+1
-1
lines changed

src/vit-servicing-station/vit-servicing-station-lib/src/utils/serde.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ where
179179
{
180180
match value {
181181
"NaN" => Err(E::custom(
182-
"Invalid value, should be 1.0, or 0.56".to_string(),
182+
"Invalid value format, should be a number e.g. 1.0, 0.56".to_string(),
183183
)),
184184
_ => Ok(Fraction::from_str(value).map_err(|e| E::custom(e.to_string()))?),
185185
}

0 commit comments

Comments
 (0)