fixed common errs
This commit is contained in:
parent
115f1d5db3
commit
b94e5b3394
@ -1,4 +1,4 @@
|
||||
use std::{ops::DerefMut, path::PathBuf};
|
||||
use std::{path::PathBuf};
|
||||
|
||||
use crate::{
|
||||
deps,
|
||||
|
@ -1,5 +1,5 @@
|
||||
use std::{
|
||||
ops::{Deref, DerefMut},
|
||||
ops::{Deref},
|
||||
sync::Arc,
|
||||
};
|
||||
|
||||
|
@ -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<models::Char> {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user