Switch to using DataError instead of failure::Error.

This commit is contained in:
Jordan Petridis
2018-02-05 02:43:56 +02:00
parent 435ce05ac7
commit 8ba9f928d6
13 changed files with 119 additions and 91 deletions
+1
View File
@@ -17,6 +17,7 @@ use hammond_data::xdg_dirs::HAMMOND_CACHE;
use std::result;
use failure::Error;
type Result<T> = result::Result<T, Error>;
// TODO: Replace path that are of type &str with std::path.