From f1e3163ba2821f3d1ad0c58ac5aab20be3dad045 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 14 Jun 2019 07:04:58 -0600 Subject: [PATCH] fix: Clippy --- src/dict.rs | 1 + src/report.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dict.rs b/src/dict.rs index d587525..b47ef7f 100644 --- a/src/dict.rs +++ b/src/dict.rs @@ -1,3 +1,4 @@ +#[allow(clippy)] include!(concat!(env!("OUT_DIR"), "/codegen.rs")); #[derive(Default)] diff --git a/src/report.rs b/src/report.rs index 98290ba..a2fbbed 100644 --- a/src/report.rs +++ b/src/report.rs @@ -1,4 +1,4 @@ -#[derive(Debug, Serialize)] +#[derive(Copy, Clone, Debug, Serialize)] pub struct Message<'m> { pub path: &'m std::path::Path, #[serde(skip)]