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::{
|
use crate::{
|
||||||
deps,
|
deps,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use std::{
|
use std::{
|
||||||
ops::{Deref, DerefMut},
|
ops::{Deref},
|
||||||
sync::Arc,
|
sync::Arc,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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> {
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user