From a2d54866d42f3ff1884e0c5bc754e138cf197bdd Mon Sep 17 00:00:00 2001 From: jean-airoldie <25088801+jean-airoldie@users.noreply.github.com> Date: Sat, 26 Oct 2019 11:21:40 -0400 Subject: [PATCH] Added Clone impl to Config --- src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.rs b/src/config.rs index f7bdf1a..885dbc7 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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,