mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +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,
|
sink: &mut dyn LayoutSink,
|
||||||
) -> LayoutFit {
|
) -> LayoutFit {
|
||||||
// TODO: make sure it is called when we have the current font (not sooner)
|
// 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 init_cursor = *cursor;
|
||||||
let mut total_processed_chars = 0;
|
let mut total_processed_chars = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user