projects
/
recipes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rustfmt
[recipes.git]
/
backend
/
src
/
utils.rs
diff --git
a/backend/src/utils.rs
b/backend/src/utils.rs
index
d39a970
..
f8d41af
100644
(file)
--- a/
backend/src/utils.rs
+++ b/
backend/src/utils.rs
@@
-2,10
+2,10
@@
use log::error;
pub fn unwrap_print_err<T, E>(r: Result<T, E>) -> T
where
- E: std::fmt::Debug
+ E: std::fmt::Debug
,
{
if let Err(ref error) = r {
error!("{:?}", error);
}
r.unwrap()
-}
\ No newline at end of file
+}