Merge pull request #94 from carllerche/ver/clone-builders

Derive Clone for Builder types
This commit is contained in:
Oliver Gould
2017-09-17 14:15:24 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

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

View File

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