diff --git a/gremlin-client/src/error.rs b/gremlin-client/src/error.rs index f762847e..8d0d72c8 100644 --- a/gremlin-client/src/error.rs +++ b/gremlin-client/src/error.rs @@ -12,7 +12,7 @@ pub enum GremlinError { Generic(String), #[error(transparent)] - WebSocket(tungstenite::error::Error), + WebSocket(#[from] tungstenite::error::Error), #[error(transparent)] Pool(#[from] r2d2::Error),