fixed common errs

This commit is contained in:
Kasper Juul Hermansen 2023-01-22 12:06:04 +01:00
parent 115f1d5db3
commit b94e5b3394
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
4 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
use std::{ops::DerefMut, path::PathBuf}; use std::{path::PathBuf};
use crate::{ use crate::{
deps, deps,

View File

@ -1,5 +1,5 @@
use std::{ use std::{
ops::{Deref, DerefMut}, ops::{Deref},
sync::Arc, sync::Arc,
}; };

View File

@ -19,8 +19,8 @@ impl Parser {
} }
} }
pub fn set_path(&self, path: PathBuf) { pub fn set_path(&self, _path: PathBuf) {
let writer = self.path.write().unwrap(); let _writer = self.path.write().unwrap();
} }
pub fn parse(&self) -> eyre::Result<models::Char> { pub fn parse(&self) -> eyre::Result<models::Char> {

View File

@ -20,7 +20,7 @@ impl Resolver for Install {
Ok(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()?; let char = self.deps.parser.parse()?;
dbg!(char); dbg!(char);