Skip to content

Commit a9c1a8e

Browse files
authored
Fix typo
1 parent d685dac commit a9c1a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bson/raw_value.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func (rv RawValue) Double() float64 { return convertToCoreValue(rv).Double() }
9999
// DoubleOK is the same as Double, but returns a boolean instead of panicking.
100100
func (rv RawValue) DoubleOK() (float64, bool) { return convertToCoreValue(rv).DoubleOK() }
101101

102-
// StringValue returns the string balue for this element.
102+
// StringValue returns the string value for this element.
103103
// It panics if e's BSON type is not bsontype.String.
104104
//
105105
// NOTE: This method is called StringValue to avoid a collision with the String method which

0 commit comments

Comments
 (0)