From 5ec8b587721546ac357abaa613b012128c77aee0 Mon Sep 17 00:00:00 2001 From: matejcik Date: Fri, 31 May 2024 15:16:42 +0200 Subject: [PATCH] style(core/rust): remove unreachable statement --- core/embed/rust/src/micropython/runtime.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/core/embed/rust/src/micropython/runtime.rs b/core/embed/rust/src/micropython/runtime.rs index c33bb40b52..a2dced61d4 100644 --- a/core/embed/rust/src/micropython/runtime.rs +++ b/core/embed/rust/src/micropython/runtime.rs @@ -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