From 0b5803f641d2ab7d42ac498ecccae7d3b3cbc298 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Thu, 27 Oct 2022 20:08:06 -0400 Subject: led: allow unused methods --- src/led.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/led.rs b/src/led.rs index 788ec81..ed2524d 100644 --- a/src/led.rs +++ b/src/led.rs @@ -14,6 +14,7 @@ pub struct LED { state: State, } +#[allow(unused)] impl LED { pub fn new(pin: LEDPin>, cr: &mut Cr) -> Self { let mut p = pin.into_push_pull_output(cr); -- cgit v1.2.3