Derive Clone for Builder types

This commit is contained in:
Oliver Gould
2017-09-17 20:38:55 +00:00
parent a8e117d09f
commit 303b896095
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ pub struct Body<B: IntoBuf> {
} }
/// Build a Client. /// Build a Client.
#[derive(Debug, Default)] #[derive(Clone, Debug, Default)]
pub struct Builder { pub struct Builder {
settings: Settings, settings: Settings,
} }

View File

@@ -21,7 +21,7 @@ pub struct Server<T, B: IntoBuf> {
} }
/// Build a Server /// Build a Server
#[derive(Debug, Default)] #[derive(Clone, Debug, Default)]
pub struct Builder { pub struct Builder {
settings: Settings, settings: Settings,
} }