diff options
author | Denis Isidoro <denisidoro@users.noreply.github.com> | 2021-04-16 08:29:04 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 08:29:04 -0300 |
commit | 649832bc41222fba449c2a9a31869180678ed1eb (patch) | |
tree | 58ad1ab6bb2226a44f1e8262c879814d8e8e8d83 /src/structures | |
parent | 06d728c377f090e4b89d2314629414ab7a03d6d4 (diff) |
Use anyhow::Result
Diffstat (limited to 'src/structures')
-rw-r--r-- | src/structures/fetcher.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/structures/fetcher.rs b/src/structures/fetcher.rs index 9bd9d36..d4e237c 100644 --- a/src/structures/fetcher.rs +++ b/src/structures/fetcher.rs @@ -1,6 +1,6 @@ use crate::structures::cheat::VariableMap; use crate::writer::Writer; -use anyhow::Error; +use anyhow::Result; pub trait Fetcher { fn fetch( @@ -8,5 +8,5 @@ pub trait Fetcher { stdin: &mut std::process::ChildStdin, writer: &mut dyn Writer, files: &mut Vec<String>, - ) -> Result<Option<VariableMap>, Error>; + ) -> Result<Option<VariableMap>>; } |