Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/client/options/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ pub struct ClientOptions {
///
/// Note that by default, the driver will autodiscover other nodes in the cluster. To connect
/// directly to a single server (rather than autodiscovering the rest of the cluster), set the
/// `direct` field to `true.
/// `direct` field to `true`.
#[builder(default_code = "vec![ StreamAddress {
hostname: \"localhost\".to_string(),
port: Some(27017),
Expand Down
2 changes: 1 addition & 1 deletion src/coll/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ impl Collection {
self.inner.write_concern.as_ref()
}

/// Drops the collection, deleting all data, users, and indexes stored in in.
/// Drops the collection, deleting all data, users, and indexes stored in it.
pub fn drop(&self, options: impl Into<Option<DropCollectionOptions>>) -> Result<()> {
let mut options = options.into();
resolve_options!(self, options, [write_concern]);
Expand Down
2 changes: 1 addition & 1 deletion src/db/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl Database {
Collection::new(self.clone(), name, Some(options))
}

/// Drops the database, deleting all data, collections, users, and indexes stored in in.
/// Drops the database, deleting all data, collections, users, and indexes stored in it.
pub fn drop(&self, options: impl Into<Option<DropDatabaseOptions>>) -> Result<()> {
let mut options = options.into();
resolve_options!(self, options, [write_concern]);
Expand Down