mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-24 06:11:06 +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();
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "crypto")]
|
||||||
fn generate_crypto_bindings() {
|
fn generate_crypto_bindings() {
|
||||||
let out_path = env::var("OUT_DIR").unwrap();
|
let out_path = env::var("OUT_DIR").unwrap();
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#[cfg(feature = "translations")]
|
||||||
use spin::RwLockReadGuard;
|
use spin::RwLockReadGuard;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
@ -11,6 +11,7 @@ use crate::{
|
|||||||
use super::super::theme;
|
use super::super::theme;
|
||||||
|
|
||||||
use heapless::Vec;
|
use heapless::Vec;
|
||||||
|
#[cfg(feature = "ui_debug")]
|
||||||
use ufmt::uwrite;
|
use ufmt::uwrite;
|
||||||
|
|
||||||
const WORDS_PER_PAGE: usize = 4;
|
const WORDS_PER_PAGE: usize = 4;
|
||||||
|
Loading…
Reference in New Issue
Block a user