Skip to content

Commit 2797876

Browse files
GODRIVER-3533 Use vaueWriter constructor
1 parent ecb98ce commit 2797876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bson/value_writer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func putValueWriter(vw *valueWriter) {
3535

3636
var documentWriterPool = sync.Pool{
3737
New: func() interface{} {
38-
return NewDocumentWriter(nil)
38+
return newDocumentWriter(nil)
3939
},
4040
}
4141

0 commit comments

Comments
 (0)