mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +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)
|
||||
ffi::nlr_jump(err.into_obj().as_ptr());
|
||||
}
|
||||
panic!();
|
||||
}
|
||||
|
||||
/// Execute `func` while catching MicroPython exceptions. Returns `Ok` in the
|
||||
|
Loading…
Reference in New Issue
Block a user