diff options
| author | eaon <eaon@mit.edu> | 2018-12-09 18:48:24 +0100 |
|---|---|---|
| committer | eaon <eaon@mit.edu> | 2018-12-09 18:54:41 +0100 |
| commit | b5b0f7e97abe0dbd5b54a1fc69e764a124c271b2 (patch) | |
| tree | 54c4add85514a3ccb718985682b7c8312c4a5128 /src/ffi.rs | |
| parent | c3d26cd116b51687b2fa43a22d3d0c2856cb093b (diff) | |
| download | mail-b5b0f7e97abe0dbd5b54a1fc69e764a124c271b2.tar.gz | |
Edition 2018 hit stable 🙌
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()) } } |
