Remove redundant field name

This commit is contained in:
9names 2021-04-29 11:19:47 +10:00
parent f21648de93
commit 010a5cabf3

View file

@ -69,7 +69,7 @@ impl<S: State> CrystalOscillator<S> {
fn transition<To: State>(self, state: To) -> CrystalOscillator<To> { fn transition<To: State>(self, state: To) -> CrystalOscillator<To> {
CrystalOscillator { CrystalOscillator {
device: self.device, device: self.device,
state: state, state,
} }
} }