From 6fd2d231352e2f529c762af87f7917a7ddcad486 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 dd866f308..f7f778c05 100644 --- a/src/view/container/log_page.rs +++ b/src/view/container/log_page.rs @@ -253,7 +253,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}",