Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov authored and mike1703 committed Sep 28, 2024
1 parent 3cd0683 commit e0f9cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bt/gap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ impl<'a> From<(esp_bt_gap_cb_event_t, &'a esp_bt_gap_cb_param_t)> for GapEvent<'
},
esp_bt_gap_cb_event_t_ESP_BT_GAP_CONFIG_EIR_DATA_EVT => Self::EirDataConfigured {
status: param.config_eir_data.stat.try_into().unwrap(),
eir_types: core::mem::transmute::<&[u8], &[bt::gap::EirType]>(
eir_types: core::mem::transmute::<&[u8], &[EirType]>(
&param.config_eir_data.eir_type[..param.config_eir_data.eir_type_num as _],
),
},
Expand Down

0 comments on commit e0f9cab

Please sign in to comment.