diff --git a/libimagrt/src/error.rs b/libimagrt/src/error.rs index 93752552..50d640d7 100644 --- a/libimagrt/src/error.rs +++ b/libimagrt/src/error.rs @@ -1,7 +1,4 @@ -use std::error::Error; -use std::fmt::Display; -use std::fmt::Formatter; -use std::fmt::Error as FmtError; +generate_error_imports!(); use std::io::Error as IOError; generate_error_types!(RuntimeError, RuntimeErrorKind,