We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8690b3 commit 3df4f02Copy full SHA for 3df4f02
src/vit-servicing-station/vit-servicing-station-lib/src/utils/serde.rs
@@ -179,7 +179,7 @@ where
179
{
180
match value {
181
"NaN" => Err(E::custom(
182
- "Invalid value, should be 1.0, or 0.56".to_string(),
+ "Invalid value format, should be a number e.g. 1.0, 0.56".to_string(),
183
)),
184
_ => Ok(Fraction::from_str(value).map_err(|e| E::custom(e.to_string()))?),
185
}
0 commit comments