mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 09:09:03 +03:00
chore: use anyhow to handle error
This commit is contained in:
@@ -67,7 +67,7 @@ impl LogHttp {
|
||||
}
|
||||
|
||||
impl FromStr for LogHttp {
|
||||
type Err = Box<dyn std::error::Error>;
|
||||
type Err = anyhow::Error;
|
||||
fn from_str(s: &str) -> Result<Self, Self::Err> {
|
||||
let mut elements = vec![];
|
||||
let mut is_var = false;
|
||||
|
||||
Reference in New Issue
Block a user