mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
style(core/rust): remove unused mut
This commit is contained in:
parent
437b9e5991
commit
0ef1d20062
@ -58,7 +58,7 @@ impl<'a, T: StringType + Clone + 'a> OpTextLayout<T> {
|
||||
sink: &mut dyn LayoutSink,
|
||||
) -> LayoutFit {
|
||||
// TODO: make sure it is called when we have the current font (not sooner)
|
||||
let mut cursor = &mut (self.layout.initial_cursor() + offset);
|
||||
let cursor = &mut (self.layout.initial_cursor() + offset);
|
||||
let init_cursor = *cursor;
|
||||
let mut total_processed_chars = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user