1
0
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:
matejcik 2024-05-31 15:16:42 +02:00 committed by matejcik
parent dd0fe3d878
commit 5ec8b58772

View File

@ -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