Apache DataFusion SQL Query Engine
Fix minor clippy issue (#1995)
Andrew Lambfd8a1554b0c2
diff --git a/ballista/rust/core/src/event_loop.rs b/ballista/rust/core/src/event_loop.rsindex af18ddcbd9..217b7fc30f 100644--- a/ballista/rust/core/src/event_loop.rs+++ b/ballista/rust/core/src/event_loop.rs@@ -134,8 +134,8 @@ pub struct EventSender<E> {impl<E> EventSender<E> {pub async fn post_event(&self, event: E) -> Result<()> {- Ok(self.tx_event.send(event).await.map_err(|e| {+ self.tx_event.send(event).await.map_err(|e| {BallistaError::General(format!("Fail to send event due to {}", e))- })?)+ })}}