Skip to content

Commit 3c6c90e

Browse files
brunobellsaghm
authored andcommitted
minor: fix typos in docs (#108)
1 parent 7996d81 commit 3c6c90e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/client/options/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ pub struct ClientOptions {
170170
///
171171
/// Note that by default, the driver will autodiscover other nodes in the cluster. To connect
172172
/// directly to a single server (rather than autodiscovering the rest of the cluster), set the
173-
/// `direct` field to `true.
173+
/// `direct` field to `true`.
174174
#[builder(default_code = "vec![ StreamAddress {
175175
hostname: \"localhost\".to_string(),
176176
port: Some(27017),

src/coll/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ impl Collection {
145145
self.inner.write_concern.as_ref()
146146
}
147147

148-
/// Drops the collection, deleting all data, users, and indexes stored in in.
148+
/// Drops the collection, deleting all data, users, and indexes stored in it.
149149
pub fn drop(&self, options: impl Into<Option<DropCollectionOptions>>) -> Result<()> {
150150
let mut options = options.into();
151151
resolve_options!(self, options, [write_concern]);

src/db/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ impl Database {
140140
Collection::new(self.clone(), name, Some(options))
141141
}
142142

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

0 commit comments

Comments
 (0)