From e3a9f71069c1e6c4aec9235b2944013601328d7d Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Wed, 5 Feb 2025 13:08:44 +0200 Subject: [PATCH] fix(core): correct a small typo [no changelog] --- core/embed/rust/src/ui/layout/obj.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/embed/rust/src/ui/layout/obj.rs b/core/embed/rust/src/ui/layout/obj.rs index 4ec68214a4..be99651921 100644 --- a/core/embed/rust/src/ui/layout/obj.rs +++ b/core/embed/rust/src/ui/layout/obj.rs @@ -371,7 +371,7 @@ impl LayoutObj { } pub fn new_root(root: impl LayoutMaybeTrace + 'static) -> Result, Error> { - // SAFETY: This is a Python object and hase a base as first element + // SAFETY: This is a Python object and has a base as first element unsafe { Gc::new_with_custom_finaliser(Self { base: Self::obj_type().as_base(),