From 5ae0e784a26b8f4a1baa37816bf083baff6f603b Mon Sep 17 00:00:00 2001 From: obrusvit Date: Fri, 13 Dec 2024 15:35:44 +0100 Subject: [PATCH] fixup! refactor(core): safe iface for get_glyph_data --- core/embed/rust/src/translations/blob.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/embed/rust/src/translations/blob.rs b/core/embed/rust/src/translations/blob.rs index 7488bbbd37..8862a56c72 100644 --- a/core/embed/rust/src/translations/blob.rs +++ b/core/embed/rust/src/translations/blob.rs @@ -259,7 +259,7 @@ impl<'a> Translations<'a> { &self.header } - /// Returns a pointer to the glyph data for the given UTF-8 codepoint. + /// Returns a byte slice of the glyph data for the given UTF-8 codepoint in the specified font. /// /// SAFETY: Do not mess with the lifetimes in this signature. ///