Skip to content

Commit f3efd26

Browse files
committed
Improve expectaction
1 parent c7da944 commit f3efd26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core/src/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ where
5050
type Value = i64;
5151

5252
fn expecting(&self, formatter: &mut core::fmt::Formatter) -> core::fmt::Result {
53-
formatter.write_str("a string")
53+
formatter.write_str("a string representation of a number")
5454
}
5555

5656
fn visit_str<E>(self, v: &str) -> Result<Self::Value, E>

0 commit comments

Comments
 (0)