Skip to content

Commit 41d9cb2

Browse files
andywwrightsaghm
authored andcommitted
Default on ReplaceOptions.hint is missing (#115)
1 parent 5fd0786 commit 41d9cb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/coll/options.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ pub struct ReplaceOptions {
233233
///
234234
/// Only available in MongoDB 4.2+. See the official MongoDB
235235
/// [documentation](https://docs.mongodb.com/manual/reference/command/update/#ex-update-command-hint) for examples.
236+
#[builder(default)]
236237
pub hint: Option<Hint>,
237238

238239
/// The write concern for the operation.

0 commit comments

Comments
 (0)