diff --git a/src/client/pipeline.rs b/src/client/pipeline.rs index 76075b52c..e77894b24 100644 --- a/src/client/pipeline.rs +++ b/src/client/pipeline.rs @@ -336,8 +336,7 @@ impl Pipeline { // need read? if self.parser.is_some() { - let conn: &mut Connection = - unsafe { &mut *(self.conn.as_mut().unwrap() as *mut _) }; + let conn: &mut Connection = self.conn.as_mut().unwrap(); loop { match self