From 25c0b1244eda71fcba4ed3915a8c6ac9a17626fb Mon Sep 17 00:00:00 2001 From: Techcable Date: Tue, 2 Jan 2024 20:35:14 -0700 Subject: [PATCH] cargo fmt Messed some formatting up in the Github Web UI ;) --- src/lib.rs | 1 - src/tests.rs | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 79c63c4f..f86cf3bf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3500,7 +3500,6 @@ where #[cfg(feature = "std")] pub struct ErrorRef<'a, E: ?Sized + std::error::Error>(pub &'a E); - #[cfg(feature = "std")] impl<'a, E> Value for ErrorRef<'a, E> where diff --git a/src/tests.rs b/src/tests.rs index 8c66e71c..03f265ff 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -209,7 +209,6 @@ mod std_only { let logger = Logger::root(CheckError, o!()); info!(logger, "foonot-error: not-error; "; "not-error" => "not-error", "error" => #error); slog_info!(logger, "foonot-error: not-error; "; "not-error" => "not-error", "error" => #error); - } #[test] @@ -261,7 +260,6 @@ mod std_only { info!(logger, "not found"; "error" => #std::io::Error::from(std::io::ErrorKind::NotFound)); let error = std::io::Error::from(std::io::ErrorKind::NotFound); info!(logger, "not found"; "error" => #&error); - } }