Skip to content

Commit c703464

Browse files
authored
minor: fix documentation about user retention when dropping databases… (#231)
1 parent a68de63 commit c703464

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/coll/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ impl Collection {
152152
self.inner.write_concern.as_ref()
153153
}
154154

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

src/db/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ impl Database {
145145
Collection::new(self.clone(), name, Some(options))
146146
}
147147

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

0 commit comments

Comments
 (0)