From 19f8ef33d7fe2f606071abfd15f0e083203a4bad Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sat, 18 Nov 2023 16:51:04 -0800 Subject: [PATCH] cleaned up clippy warnings --- ewwtilities/src/workspace_switcher.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ewwtilities/src/workspace_switcher.rs b/ewwtilities/src/workspace_switcher.rs index 0af69d0..d3ebac2 100644 --- a/ewwtilities/src/workspace_switcher.rs +++ b/ewwtilities/src/workspace_switcher.rs @@ -2,7 +2,6 @@ use log::{debug, error}; use std::process::Command; use serde::{Deserialize, Serialize}; -use serde_json; use crate::CliArgs; @@ -46,7 +45,7 @@ pub fn run_workspace_selector(cli: &CliArgs) { .collect::>() .first() { - Some(val) => (*val).clone(), + Some(val) => *val, None => { error!("Could not get focused monitor from json"); panic!("Could not get focused monitor from json");