Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
aon committed May 30, 2024
1 parent ed6875c commit e6e0495
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zk_toolbox/crates/common/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ use once_cell::sync::OnceCell;
static CONFIG: OnceCell<GlobalConfig> = OnceCell::new();

pub fn init_global_config(config: GlobalConfig) {
CONFIG.set(config).expect("GlobalConfig already initialized");
CONFIG
.set(config)
.expect("GlobalConfig already initialized");
}

pub fn global_config() -> &'static GlobalConfig {
Expand Down

0 comments on commit e6e0495

Please sign in to comment.