Skip to content

Commit

Permalink
chore: fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dj95 committed Jun 20, 2024
1 parent d684f41 commit e4c720e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/bin/zjstatus.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use zellij_tile::prelude::*;

use chrono::Local;
use std::{collections::BTreeMap, sync::Arc, usize};
use std::{collections::BTreeMap, sync::Arc};
use uuid::Uuid;

use zjstatus::{
Expand Down
5 changes: 1 addition & 4 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,7 @@ impl ModuleConfig {
None => false,
};

let border_config = match parse_border_config(config.clone()) {
Some(bc) => bc,
None => BorderConfig::default(),
};
let border_config = parse_border_config(config.clone()).unwrap_or_default();

Ok(Self {
left_parts_config: left_parts_config.to_owned(),
Expand Down

0 comments on commit e4c720e

Please sign in to comment.