Skip to content

Commit

Permalink
clippy my way out
Browse files Browse the repository at this point in the history
  • Loading branch information
adgaultier committed Oct 10, 2024
1 parent 5a6f220 commit 156b318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oryx-tui/src/section/firewall.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ impl Firewall {
}

pub fn save_rules(&self) -> AppResult<()> {
if self.rules.len() > 0 {
if !self.rules.is_empty() {
info!("Saving Firewall Rules");

let json = serde_json::to_string(&self.rules).unwrap();
Expand Down

0 comments on commit 156b318

Please sign in to comment.