Skip to content

Commit 4f749c6

Browse files
RUST-2308 Derive Clone for ConnectionString (#1546)
Co-authored-by: Jeroen Vervaeke <[email protected]>
1 parent 484813d commit 4f749c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/src/client/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ where
815815
///
816816
/// The format of a MongoDB connection string is described [here](https://www.mongodb.com/docs/manual/reference/connection-string/#connection-string-formats).
817817
#[skip_serializing_none]
818-
#[derive(Debug, Default, PartialEq, Serialize)]
818+
#[derive(Clone, Debug, Default, PartialEq, Serialize)]
819819
#[serde(rename_all = "camelCase")]
820820
#[non_exhaustive]
821821
pub struct ConnectionString {

0 commit comments

Comments
 (0)