Skip to content

Commit

Permalink
Fixing style
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-summers committed Nov 13, 2023
1 parent c9a913b commit 18399f9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,6 @@ impl<B: UsbBus> UsbDevice<'_, B> {
2 => lang.product,
3 => lang.serial,
_ => unreachable!(),

}
}
_ => {
Expand Down
1 change: 0 additions & 1 deletion src/device_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ impl<'a, B: UsbBus> UsbDeviceBuilder<'a, B> {
heapless::Vec::from_slice(descriptors).map_err(|_| BuilderError::TooManyLanguages)?;

Ok(self)

}

/// Sets the maximum packet size in bytes for the control endpoint 0.
Expand Down

0 comments on commit 18399f9

Please sign in to comment.