From 63cfcbe7a7745b276de58ec92e0141b958c44feb Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Sat, 10 Aug 2024 19:06:46 +0200 Subject: use unsafe blocks instead of mutexes --- src/state/editor/bar.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/state/editor/bar.rs') diff --git a/src/state/editor/bar.rs b/src/state/editor/bar.rs index 752d021..f6163af 100644 --- a/src/state/editor/bar.rs +++ b/src/state/editor/bar.rs @@ -3,6 +3,5 @@ use crate::state::{bar::BarState, GlobalState}; BarState!( EditorBarState, (), - GlobalState::instance().editor.bar, - GlobalState::instance_mut().editor.bar + GlobalState::get().editor.bar ); -- cgit v1.2.3-70-g09d2