mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-23 22:01:01 +00:00
fix(core): fix a few "unused" Rust warnings
[no changelog]
This commit is contained in:
parent
ae853bb821
commit
e78f6d2d6d
@ -437,6 +437,7 @@ fn generate_trezorhal_bindings() {
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
#[cfg(feature = "crypto")]
|
||||
fn generate_crypto_bindings() {
|
||||
let out_path = env::var("OUT_DIR").unwrap();
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
#[cfg(feature = "translations")]
|
||||
use spin::RwLockReadGuard;
|
||||
|
||||
use crate::{
|
||||
|
@ -11,6 +11,7 @@ use crate::{
|
||||
use super::super::theme;
|
||||
|
||||
use heapless::Vec;
|
||||
#[cfg(feature = "ui_debug")]
|
||||
use ufmt::uwrite;
|
||||
|
||||
const WORDS_PER_PAGE: usize = 4;
|
||||
|
Loading…
Reference in New Issue
Block a user