1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-15 17:12:04 +00:00

fix(core): correct a small typo

[no changelog]
This commit is contained in:
Roman Zeyde 2025-02-05 13:08:44 +02:00 committed by Roman Zeyde
parent e23074f9d3
commit e3a9f71069

View File

@ -371,7 +371,7 @@ impl LayoutObj {
} }
pub fn new_root(root: impl LayoutMaybeTrace + 'static) -> Result<Gc<Self>, Error> { pub fn new_root(root: impl LayoutMaybeTrace + 'static) -> Result<Gc<Self>, 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 { unsafe {
Gc::new_with_custom_finaliser(Self { Gc::new_with_custom_finaliser(Self {
base: Self::obj_type().as_base(), base: Self::obj_type().as_base(),