From 5960a83a8b3f70709e3de853ca026a0859cdea05 Mon Sep 17 00:00:00 2001 From: Marcus Behrendt Date: Fri, 18 Nov 2022 19:45:42 +0100 Subject: [PATCH] refactor(container-log-page): Don't borrow mut --- src/view/container/log_page.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/container/log_page.rs b/src/view/container/log_page.rs index 9008f2d6e..fbb97b82d 100644 --- a/src/view/container/log_page.rs +++ b/src/view/container/log_page.rs @@ -239,7 +239,7 @@ mod imp { .margin_end(6) .build(); renderer_timestamps.connect_query_data(clone!(@weak obj => move |renderer, _, line| { - let log_timestamps = obj.imp().log_timestamps.borrow_mut(); + let log_timestamps = obj.imp().log_timestamps.borrow(); if let Some(timestamp) = log_timestamps.get(line as usize) { let date_time = format!( "{timestamp}",