From b5b0f7e97abe0dbd5b54a1fc69e764a124c271b2 Mon Sep 17 00:00:00 2001 From: eaon Date: Sun, 9 Dec 2018 12:48:24 -0500 Subject: =?UTF-8?q?Edition=202018=20hit=20stable=20=F0=9F=99=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ffi.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ffi.rs') diff --git a/src/ffi.rs b/src/ffi.rs index 3874ae5..1434ee0 100644 --- a/src/ffi.rs +++ b/src/ffi.rs @@ -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()) } } -- cgit v1.2.1