Skip to content

Commit c71de2e

Browse files
FGaspertdq45gj
andauthored
Update option/bson.go
Co-authored-by: Jian Guan <[email protected]>
1 parent e8b4330 commit c71de2e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

option/bson.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ func (o Option[T]) MarshalBSONValue() (bsontype.Type, []byte, error) {
1919

2020
// UnmarshalBSONValue implements bson.ValueUnmarshaler.
2121
func (o *Option[T]) UnmarshalBSONValue(bType bsontype.Type, raw []byte) error {
22-
2322
switch bType {
2423
case bson.TypeNull:
2524
o.val = nil

0 commit comments

Comments
 (0)