Skip to content

Commit fe28445

Browse files
authored
minor: remove incorrect note about Decimal128 panic (#539)
1 parent ba7e703 commit fe28445

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bson.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,6 @@ impl From<Bson> for Value {
461461

462462
impl Bson {
463463
/// Converts the Bson value into its [relaxed extended JSON representation](https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/).
464-
///
465-
/// Note: If this method is called on a case which contains a `Decimal128` value, it will panic.
466464
pub fn into_relaxed_extjson(self) -> Value {
467465
match self {
468466
Bson::Double(v) if v.is_nan() => {

0 commit comments

Comments
 (0)