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(()) }