diff --git a/src/common.rs b/src/common.rs index 86ad1b2..d01d51a 100644 --- a/src/common.rs +++ b/src/common.rs @@ -1,4 +1,4 @@ -use std::fmt::{self, Write, Display}; +use std::fmt::{self, Display, Write}; #[derive(Copy, Clone, Debug, Eq, PartialEq)] pub enum Op { diff --git a/tests/at-error.rs b/tests/at-error.rs index e9c6865..85e40ea 100644 --- a/tests/at-error.rs +++ b/tests/at-error.rs @@ -13,4 +13,7 @@ error!( ); error!(error_unquoted_string, "a {\n @error hi;\n}\n", "Error: hi"); error!(error_arithmetic, "a {\n @error 1 + 1;\n}\n", "Error: 2"); -error!(error_is_inspected, "a {\n @error null;\n}\n", "Error: null"); +error!( + error_is_inspected, + "a {\n @error null;\n}\n", "Error: null" +);