From fee6c6356171ea2b32bbb9306bceb3f98a1bcd45 Mon Sep 17 00:00:00 2001 From: tjjfvi Date: Thu, 11 Apr 2024 16:27:39 -0400 Subject: [PATCH] make wrong_self_convention local --- src/lib.rs | 1 - src/run/linker.rs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index cd94a97d..f1213e9e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,6 @@ incomplete_features, clippy::field_reassign_with_default, clippy::missing_safety_doc, - clippy::wrong_self_convention, clippy::new_ret_no_self )] #![warn( diff --git a/src/run/linker.rs b/src/run/linker.rs index 7cbdb31d..a92da3f3 100644 --- a/src/run/linker.rs +++ b/src/run/linker.rs @@ -282,11 +282,13 @@ impl Trg { } #[inline(always)] + #[allow(clippy::wrong_self_convention)] pub(super) fn as_wire(self) -> Wire { Wire(self.0.0 as _) } #[inline(always)] + #[allow(clippy::wrong_self_convention)] pub(super) fn as_port(self) -> Port { self.0 }