Skip to content

Commit

Permalink
fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lulf committed Sep 5, 2024
1 parent 80a3704 commit 61611c4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions esp-wifi/src/ble/controller/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,7 @@ pub mod asynch {
}
}

fn parse_hci<'m>(
data: &'m [u8],
) -> Result<Option<ControllerToHostPacket<'m>>, BleConnectorError> {
fn parse_hci(data: &[u8]) -> Result<Option<ControllerToHostPacket<'_>>, BleConnectorError> {
match ControllerToHostPacket::from_hci_bytes_complete(data) {
Ok(p) => Ok(Some(p)),
Err(e) => {
Expand Down

0 comments on commit 61611c4

Please sign in to comment.