diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-08-10 19:06:46 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-08-10 19:06:46 +0200 |
| commit | 63cfcbe7a7745b276de58ec92e0141b958c44feb (patch) | |
| tree | 990e33a83756e27187033579ee2f85d5c79169d5 /src/config/theme/editor/bar.rs | |
| parent | b747ca8af52129876b577a4f20f7105a05c6b002 (diff) | |
use unsafe blocks instead of mutexes
Diffstat (limited to 'src/config/theme/editor/bar.rs')
| -rw-r--r-- | src/config/theme/editor/bar.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/config/theme/editor/bar.rs b/src/config/theme/editor/bar.rs index 62be7b0..e0ff0a7 100644 --- a/src/config/theme/editor/bar.rs +++ b/src/config/theme/editor/bar.rs @@ -3,6 +3,5 @@ use crate::config::{theme::bar::BarTheme, GlobalConfig}; BarTheme!( EditorBarTheme, (), - GlobalConfig::instance().theme.editor.bar, - GlobalConfig::instance_mut().theme.editor.bar + GlobalConfig::get().theme.editor.bar ); |