We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ea6bc1 commit 85956f7Copy full SHA for 85956f7
src/operation/run_cursor_command.rs
@@ -1,5 +1,3 @@
1
-#[cfg(feature = "in-use-encryption-unstable")]
2
-use bson::doc;
3
use bson::RawDocumentBuf;
4
5
use crate::{
@@ -99,11 +97,11 @@ impl<'conn> Operation for RunCursorCommand<'conn> {
99
97
let doc = Operation::handle_response(&self.run_command, response, description)?;
100
98
let cursor_info = bson::from_document(doc)?;
101
let batch_size = match &self.options {
102
- Some(options) => options.batch_size.clone(),
+ Some(options) => options.batch_size,
103
None => None,
104
};
105
let max_time = match &self.options {
106
- Some(options) => options.max_time.clone(),
+ Some(options) => options.max_time,
107
108
109
let comment = match &self.options {
0 commit comments