diff --git a/libimagentrylink/src/error.rs b/libimagentrylink/src/error.rs index b587b0ef..4cd28512 100644 --- a/libimagentrylink/src/error.rs +++ b/libimagentrylink/src/error.rs @@ -1,6 +1,4 @@ -use std::error::Error; -use std::fmt::Error as FmtError; -use std::fmt::{Display, Formatter}; +generate_error_imports!(); generate_error_types!(LinkError, LinkErrorKind, EntryHeaderReadError => "Error while reading an entry header",