cleaned up clippy warnings

This commit is contained in:
Nickiel12 2023-11-18 16:51:04 -08:00
parent 686ecc7a0c
commit 19f8ef33d7

View file

@ -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::<Vec<u32>>()
.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");