Commit 2f4603d0 authored by Michael Watzko's avatar Michael Watzko
Browse files

Make clippy happy :)

parent 3037cb35
......@@ -16,7 +16,7 @@ pub struct FourWire<Spi: Transfer<u8> + Write<u8>, ChipSelect: OutputPin> {
impl<Spi: Transfer<u8> + Write<u8>, ChipSelect: OutputPin> FourWire<Spi, ChipSelect> {
pub fn new(spi: Spi, cs: ChipSelect) -> Self {
Self { spi, cs }
Self { cs, spi }
}
pub fn release(self) -> (Spi, ChipSelect) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment