https://codereview.appspot.com/6348099/diff/1/bson/decode.go File bson/decode.go (right):
https://codereview.appspot.com/6348099/diff/1/bson/decode.go#newcode715 bson/decode.go:715: return remove named return and replace the body with:
return &Decoder{r: r}
https://codereview.appspot.com/6348099/diff/1/bson/encode.go File bson/encode.go (right):
https://codereview.appspot.com/6348099/diff/1/bson/encode.go#newcode432 bson/encode.go:432: return Ditto as for NewDecoder.
https://codereview.appspot.com/6348099/
« Back to merge proposal
https:/ /codereview. appspot. com/6348099/ diff/1/ bson/decode. go
File bson/decode.go (right):
https:/ /codereview. appspot. com/6348099/ diff/1/ bson/decode. go#newcode715
bson/decode.go:715: return
remove named return and replace the body with:
return &Decoder{r: r}
https:/ /codereview. appspot. com/6348099/ diff/1/ bson/encode. go
File bson/encode.go (right):
https:/ /codereview. appspot. com/6348099/ diff/1/ bson/encode. go#newcode432
bson/encode.go:432: return
Ditto as for NewDecoder.
https:/ /codereview. appspot. com/6348099/