Replaced pool.get().unwrap() statements with get()?.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
use diesel::result;
|
||||
use reqwest;
|
||||
use hammond_data;
|
||||
use std::io;
|
||||
|
||||
error_chain! {
|
||||
@@ -7,5 +8,6 @@ error_chain! {
|
||||
ReqError(reqwest::Error);
|
||||
IoError(io::Error);
|
||||
DieselResultError(result::Error);
|
||||
DataError(hammond_data::errors::Error);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user