summaryrefslogtreecommitdiff
path: root/src/state/editor/bar.rs
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-08-10 19:06:46 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-08-10 19:06:46 +0200
commit63cfcbe7a7745b276de58ec92e0141b958c44feb (patch)
tree990e33a83756e27187033579ee2f85d5c79169d5 /src/state/editor/bar.rs
parentb747ca8af52129876b577a4f20f7105a05c6b002 (diff)
use unsafe blocks instead of mutexes
Diffstat (limited to 'src/state/editor/bar.rs')
-rw-r--r--src/state/editor/bar.rs3
1 files changed, 1 insertions, 2 deletions
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
);