mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-21 05:48:23 +00:00
chore(core/rust): remove warnings in translations
This commit is contained in:
parent
3fcb0acaff
commit
3884abde64
@ -405,6 +405,7 @@ impl<'a> TranslationsHeader<'a> {
|
||||
}
|
||||
|
||||
pub fn verify(&self) -> Result<(), Error> {
|
||||
#[allow(unused_mut)]
|
||||
let mut result = self.verify_with_keys(&public_keys::PUBLIC_KEYS);
|
||||
#[cfg(feature = "debug")]
|
||||
if result.is_err() {
|
||||
|
@ -6,7 +6,6 @@ mod obj;
|
||||
mod public_keys;
|
||||
mod translated_string;
|
||||
|
||||
pub use blob::MAX_HEADER_LEN;
|
||||
pub use translated_string::TranslatedString as TR;
|
||||
pub const DEFAULT_LANGUAGE: &str = "en-US";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user