diff --git a/src/client/options/mod.rs b/src/client/options/mod.rs index a5c706aac..34aeafafa 100644 --- a/src/client/options/mod.rs +++ b/src/client/options/mod.rs @@ -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), diff --git a/src/coll/mod.rs b/src/coll/mod.rs index 6c1920827..4a1c91917 100644 --- a/src/coll/mod.rs +++ b/src/coll/mod.rs @@ -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>) -> Result<()> { let mut options = options.into(); resolve_options!(self, options, [write_concern]); diff --git a/src/db/mod.rs b/src/db/mod.rs index dc5212358..6bcc232e1 100644 --- a/src/db/mod.rs +++ b/src/db/mod.rs @@ -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>) -> Result<()> { let mut options = options.into(); resolve_options!(self, options, [write_concern]);