Skip to content

Commit 43cc782

Browse files
authored
RUST-1582 Expose collection.client() as public (#822)
1 parent 8afc1bd commit 43cc782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coll/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ impl<T> Collection<T> {
180180
}
181181

182182
/// Get the `Client` that this collection descended from.
183-
pub(crate) fn client(&self) -> &Client {
183+
pub fn client(&self) -> &Client {
184184
&self.inner.client
185185
}
186186

0 commit comments

Comments
 (0)