1
0
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:
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) // (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