From dc65de146e89fb4fbb427d19ded859c0c447f2cf Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 11 Apr 2019 21:14:02 -0400 Subject: [PATCH] clippy: disable redundant_closure --- ofborg/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ofborg/src/lib.rs b/ofborg/src/lib.rs index 87ea893..43dca6b 100644 --- a/ofborg/src/lib.rs +++ b/ofborg/src/lib.rs @@ -1,4 +1,9 @@ #![recursion_limit = "512"] +// Replacing .map(|arch| arch.to_string()) +// with .map(systems::System::to_string) +// +// seems much less clear and I just don't like it :) +#![allow(clippy::redundant_closure)] #[macro_use] extern crate serde_derive;