Added Clone impl to Config

This commit is contained in:
jean-airoldie 2019-10-26 11:21:40 -04:00 committed by Josh Matthews
parent c06b18abed
commit a2d54866d4
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ enum EndianOption {
/// ///
/// When a byte limit is set, bincode will return `Err` on any deserialization that goes over the limit, or any /// When a byte limit is set, bincode will return `Err` on any deserialization that goes over the limit, or any
/// serialization that goes over the limit. /// serialization that goes over the limit.
#[derive(Clone)]
pub struct Config { pub struct Config {
limit: LimitOption, limit: LimitOption,
endian: EndianOption, endian: EndianOption,