implement Clone for Client

This commit is contained in:
Sean McArthur
2017-04-05 11:22:19 -07:00
parent ca6c042b96
commit 517e8f0aa5
2 changed files with 4 additions and 1 deletions

View File

@@ -151,9 +151,11 @@ pub fn get<T: IntoUrl>(url: T) -> ::Result<Response> {
fn _assert_impls() {
fn assert_send<T: Send>() {}
fn assert_sync<T: Sync>() {}
fn assert_clone<T: Clone>() {}
assert_send::<Client>();
assert_sync::<Client>();
assert_clone::<Client>();
assert_send::<RequestBuilder>();
assert_send::<Response>();