bson-rust
bson-rust copied to clipboard
RUST-2312 Implement default trait for cstring
Thanks for the PR! While we're here, would you mind adding a
Defaultimpl for the ownedCStringtype as well? It can also construct an empty string.
Yes it is done
(Isabel's on vacation, so I'm keeping this moving)
Thanks again! Once the tests pass I'll merge this in.
I think that CString::new() should also be implemented, see https://github.com/mongodb/bson-rust/pull/626
I think that
CString::new()should also be implemented, see #626
This has also been added based on your changes