diff options
| author | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2018-12-13 06:37:06 +0100 |
|---|---|---|
| committer | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2018-12-13 06:37:06 +0100 |
| commit | 6060d6ac929cf092f9a7455915dba3bab4848b9f (patch) | |
| tree | af41f5b67f4538963501aef9082bb2d1427a162e /src/ffi.rs | |
| parent | c3d26cd116b51687b2fa43a22d3d0c2856cb093b (diff) | |
| parent | b20e8bffb4165d378d8d8703628913c3cb86ed4f (diff) | |
| download | mail-6060d6ac929cf092f9a7455915dba3bab4848b9f.tar.gz | |
Merge branch 'eaon-edition-2018'
Diffstat (limited to 'src/ffi.rs')
| -rw-r--r-- | src/ffi.rs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,10 +4,10 @@ use libc::{c_char, c_double, c_int, c_uint, c_ulong, c_void, time_t}; -use error::{Error, Result}; +use crate::error::{Error, Result}; use std::{error, fmt, str}; -use utils::ToStr; +use crate::utils::ToStr; notmuch_enum! { #[repr(C)] @@ -60,7 +60,7 @@ impl ToStr for Status { } impl fmt::Display for Status { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { write!(f, "{}", self.to_str().unwrap()) } } |
