From 4aa2a449651e9455a2232cd5fee705d2b0937ecf Mon Sep 17 00:00:00 2001 From: jean-airoldie <25088801+jean-airoldie@users.noreply.github.com> Date: Sat, 26 Oct 2019 19:05:48 -0400 Subject: [PATCH] Added Debug impl to Config --- src/config.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config.rs b/src/config.rs index 885dbc7..fc19ac3 100644 --- a/src/config.rs +++ b/src/config.rs @@ -69,13 +69,13 @@ impl Options for DefaultOptions { } } -#[derive(Clone, Copy)] +#[derive(Clone, Copy, Debug)] enum LimitOption { Unlimited, Limited(u64), } -#[derive(Clone, Copy)] +#[derive(Clone, Copy, Debug)] enum EndianOption { Big, Little, @@ -95,7 +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)] +#[derive(Clone, Debug)] pub struct Config { limit: LimitOption, endian: EndianOption,