cleaned up clippy warnings
This commit is contained in:
parent
686ecc7a0c
commit
19f8ef33d7
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@ use log::{debug, error};
|
||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
|
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use serde_json;
|
|
||||||
|
|
||||||
use crate::CliArgs;
|
use crate::CliArgs;
|
||||||
|
|
||||||
|
@ -46,7 +45,7 @@ pub fn run_workspace_selector(cli: &CliArgs) {
|
||||||
.collect::<Vec<u32>>()
|
.collect::<Vec<u32>>()
|
||||||
.first()
|
.first()
|
||||||
{
|
{
|
||||||
Some(val) => (*val).clone(),
|
Some(val) => *val,
|
||||||
None => {
|
None => {
|
||||||
error!("Could not get focused monitor from json");
|
error!("Could not get focused monitor from json");
|
||||||
panic!("Could not get focused monitor from json");
|
panic!("Could not get focused monitor from json");
|
||||||
|
|
Loading…
Reference in a new issue