Skip to content

Commit

Permalink
Added Clone impl to Config
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-airoldie authored and jdm committed Nov 4, 2019
1 parent 44d7dcf commit 12f1415
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
/// serialization that goes over the limit.
#[derive(Clone)]
pub struct Config {
limit: LimitOption,
endian: EndianOption,
Expand Down

0 comments on commit 12f1415

Please sign in to comment.