diff --git a/src/cli.rs b/src/cli.rs index 75e39ba..6e1094b 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -1,4 +1,4 @@ -use std::{ops::DerefMut, path::PathBuf}; +use std::{path::PathBuf}; use crate::{ deps, diff --git a/src/deps.rs b/src/deps.rs index d901071..fa52bde 100644 --- a/src/deps.rs +++ b/src/deps.rs @@ -1,5 +1,5 @@ use std::{ - ops::{Deref, DerefMut}, + ops::{Deref}, sync::Arc, }; diff --git a/src/parser.rs b/src/parser.rs index 5bd6130..a207970 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -19,8 +19,8 @@ impl Parser { } } - pub fn set_path(&self, path: PathBuf) { - let writer = self.path.write().unwrap(); + pub fn set_path(&self, _path: PathBuf) { + let _writer = self.path.write().unwrap(); } pub fn parse(&self) -> eyre::Result { diff --git a/src/resolvers/install.rs b/src/resolvers/install.rs index 706fd20..b472447 100644 --- a/src/resolvers/install.rs +++ b/src/resolvers/install.rs @@ -20,7 +20,7 @@ impl Resolver for Install { Ok(install) } - fn matches(&self, args: &clap::ArgMatches) -> eyre::Result<()> { + fn matches(&self, _args: &clap::ArgMatches) -> eyre::Result<()> { let char = self.deps.parser.parse()?; dbg!(char);