From 6f9bd61c844a52bf29151b4df7fb03b39fcba961 Mon Sep 17 00:00:00 2001 From: Ammar Arif Date: Wed, 18 Sep 2024 15:45:15 -0400 Subject: [PATCH] fix clippy --- slot/src/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slot/src/api.rs b/slot/src/api.rs index e38cab2..01040d6 100644 --- a/slot/src/api.rs +++ b/slot/src/api.rs @@ -110,7 +110,7 @@ pub struct GraphQLErrors(Vec); impl fmt::Display for GraphQLErrors { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { for err in &self.0 { - writeln!(f, "Error: {}\n", err.message)?; + writeln!(f, "Error: {}", err.message)?; } Ok(()) }