diff options
| author | Jokler <jokler.contact@gmail.com> | 2018-06-16 15:35:49 +0200 |
|---|---|---|
| committer | Jokler <jokler.contact@gmail.com> | 2018-06-16 15:35:49 +0200 |
| commit | 9baade2a5d9fec54fe4d88216fbdb91c154ad348 (patch) | |
| tree | e4bee7605f2c2738574ad7d7a671c8b843bf53b5 /src/error.rs | |
| parent | 768fcc68af3cc57f52ac7117cbf325479836159a (diff) | |
| download | frippy-9baade2a5d9fec54fe4d88216fbdb91c154ad348.tar.gz frippy-9baade2a5d9fec54fe4d88216fbdb91c154ad348.zip | |
Fix clippy warnings
Diffstat (limited to 'src/error.rs')
| -rw-r--r-- | src/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs index dc34eb7..251e812 100644 --- a/src/error.rs +++ b/src/error.rs @@ -2,7 +2,7 @@ use failure::Fail; -pub fn log_error(e: FrippyError) { +pub fn log_error(e: &FrippyError) { let text = e.causes() .skip(1) .fold(format!("{}", e), |acc, err| format!("{}: {}", acc, err)); |
