diff --git a/src/header/common/mod.rs b/src/header/common/mod.rs index 718361e85a..45b2976515 100644 --- a/src/header/common/mod.rs +++ b/src/header/common/mod.rs @@ -108,7 +108,7 @@ macro_rules! impl_list_header( impl ::std::fmt::Display for $from { fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - use header::HeaderFormat; + use $crate::header::HeaderFormat; self.fmt_header(f) } } @@ -138,7 +138,7 @@ macro_rules! impl_header( impl ::std::fmt::Display for $from { fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - use header::HeaderFormat; + use $crate::header::HeaderFormat; self.fmt_header(f) } }