Skip to content

Commit

Permalink
refactor: small tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeStanger committed Aug 9, 2024
1 parent 1e0ab67 commit 9d12535
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ use clap::Parser;
use color_eyre::eyre::Result;
use color_eyre::Report;
use dirs::config_dir;
use glib::PropertySet;
use gtk::gdk::Display;
use gtk::prelude::*;
use gtk::Application;
Expand Down Expand Up @@ -79,7 +78,7 @@ fn run_with_args() {
#[cfg(feature = "schema")]
if args.print_schema {
let schema = schemars::schema_for!(Config);
println!("{}", serde_json::to_string_pretty(&schema).unwrap());
println!("{}", serde_json::to_string_pretty(&schema).expect("to be serializable"));
return;
}

Expand Down Expand Up @@ -153,7 +152,7 @@ impl Ironbar {
return;
}

running.set(true);
running.store(true, Ordering::Relaxed);

cfg_if! {
if #[cfg(feature = "ipc")] {
Expand Down

0 comments on commit 9d12535

Please sign in to comment.