1
0
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:
matejcik 2023-06-20 13:40:39 +02:00 committed by matejcik
parent 437b9e5991
commit 0ef1d20062

View File

@ -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;