From b629ac7a974eb93d2210c6fdf8d8ebda85cd7ceb Mon Sep 17 00:00:00 2001 From: a-kenji Date: Thu, 1 Aug 2024 02:01:57 +0200 Subject: [PATCH] style: move clippy options into the module --- src/change.rs | 1 + src/lib.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/change.rs b/src/change.rs index fc48bfc..7086167 100644 --- a/src/change.rs +++ b/src/change.rs @@ -1,3 +1,4 @@ +#![allow(clippy::option_map_unit_fn)] use crate::walk::Context; #[derive(Debug, Default, Clone, serde::Serialize, serde::Deserialize)] diff --git a/src/lib.rs b/src/lib.rs index 2496bc9..1e13016 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,4 @@ pub mod api; -#[allow(clippy::option_map_unit_fn)] pub mod change; pub mod diff; pub mod edit;