mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-26 00:18:15 +00:00
style(core/rust): remove unreachable statement
This commit is contained in:
parent
dd0fe3d878
commit
5ec8b58772
@ -17,7 +17,6 @@ pub unsafe fn raise_exception(err: Error) -> ! {
|
|||||||
// (err.into_obj() should return the right thing)
|
// (err.into_obj() should return the right thing)
|
||||||
ffi::nlr_jump(err.into_obj().as_ptr());
|
ffi::nlr_jump(err.into_obj().as_ptr());
|
||||||
}
|
}
|
||||||
panic!();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Execute `func` while catching MicroPython exceptions. Returns `Ok` in the
|
/// Execute `func` while catching MicroPython exceptions. Returns `Ok` in the
|
||||||
|
Loading…
Reference in New Issue
Block a user