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 3108a18 commit adf148aCopy full SHA for adf148a
src/de/serde.rs
@@ -361,7 +361,7 @@ impl<'de> Visitor<'de> for BsonVisitor {
361
"Infinity" => Bson::Double(std::f64::INFINITY),
362
"-Infinity" => Bson::Double(std::f64::NEG_INFINITY),
363
"NaN" => Bson::Double(std::f64::NAN),
364
- _ => Bson::Int64(string.parse().map_err(|_| {
+ _ => Bson::Double(string.parse().map_err(|_| {
365
V::Error::invalid_value(
366
Unexpected::Str(&string),
367
&"64-bit signed integer as a string",
0 commit comments