Skip to content

Commit 16cd950

Browse files
committed
Address review comments.
1 parent 6aecb1c commit 16cd950

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wkt/src/internal/int32.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ impl serde::de::Visitor<'_> for I32Visitor {
4141
E: serde::de::Error,
4242
{
4343
// ProtoJSON says that both strings and numbers are accepted. Parse the
44-
// string as a f64 number (all JSON numbers are f64) and then try to
45-
// parse that as a
44+
// string as a `f64` number (all JSON numbers are `f64`) and then try to
45+
// parse that as an `i32`.
4646
let number = value.parse::<f64>().map_err(E::custom)?;
4747
self.visit_f64(number)
4848
}

0 commit comments

Comments
 (0)