Skip to content

Commit cb37536

Browse files
authored
Be forward compatible with rust-lang/rust#59928
1 parent a47f1f5 commit cb37536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/event/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ pub enum Status {
326326
impl TryFrom<u8> for Status {
327327
type Error = hci::BadStatusError;
328328

329-
fn try_from(value: u8) -> Result<Self, <Self as TryFrom<u8>>::Error> {
329+
fn try_from(value: u8) -> Result<Self, hci::BadStatusError> {
330330
match value {
331331
0x41 => Ok(Status::Failed),
332332
0x42 => Ok(Status::InvalidParameters),

0 commit comments

Comments
 (0)