style(core/rust): remove unused mut

pull/3105/head
matejcik 1 year ago committed by matejcik
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…
Cancel
Save