Skip to content

Commit

Permalink
Make all ConnectOptions clonable (#1612)
Browse files Browse the repository at this point in the history
  • Loading branch information
05storm26 committed Apr 14, 2022
1 parent f328cc1 commit a68957b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlx-core/src/connection.rs
Expand Up @@ -152,7 +152,7 @@ impl LogSettings {
}
}

pub trait ConnectOptions: 'static + Send + Sync + FromStr<Err = Error> + Debug {
pub trait ConnectOptions: 'static + Send + Sync + FromStr<Err = Error> + Debug + Clone {
type Connection: Connection + ?Sized;

/// Establish a new database connection with the options specified by `self`.
Expand Down

0 comments on commit a68957b

Please sign in to comment.