From 010a5cabf3b6967489bda8a24759dbd425e4d6f4 Mon Sep 17 00:00:00 2001 From: 9names <60134748+9names@users.noreply.github.com> Date: Thu, 29 Apr 2021 11:19:47 +1000 Subject: [PATCH] Remove redundant field name --- rp2040-hal/src/xosc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rp2040-hal/src/xosc.rs b/rp2040-hal/src/xosc.rs index f2f266e..a499488 100644 --- a/rp2040-hal/src/xosc.rs +++ b/rp2040-hal/src/xosc.rs @@ -69,7 +69,7 @@ impl CrystalOscillator { fn transition(self, state: To) -> CrystalOscillator { CrystalOscillator { device: self.device, - state: state, + state, } }