File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ path = "tests/test.rs"
2222
2323[dependencies ]
2424bufstream = " 0.1"
25- byteorder = " >= 0.3, < 0.5"
25+ byteorder = " 0.5"
2626log = " 0.3"
2727phf = " 0.7"
2828hex = " 0.1"
Original file line number Diff line number Diff line change 11//! Error types.
22
3- use byteorder;
43use std:: error;
54use std:: convert:: From ;
65use std:: fmt;
@@ -227,12 +226,6 @@ impl From<DbError> for ConnectError {
227226 }
228227}
229228
230- impl From < byteorder:: Error > for ConnectError {
231- fn from ( err : byteorder:: Error ) -> ConnectError {
232- ConnectError :: Io ( From :: from ( err) )
233- }
234- }
235-
236229/// Represents the position of an error in a query.
237230#[ derive( Clone , PartialEq , Eq , Debug ) ]
238231pub enum ErrorPosition {
@@ -299,12 +292,6 @@ impl From<io::Error> for Error {
299292 }
300293}
301294
302- impl From < byteorder:: Error > for Error {
303- fn from ( err : byteorder:: Error ) -> Error {
304- Error :: Io ( From :: from ( err) )
305- }
306- }
307-
308295impl From < Error > for io:: Error {
309296 fn from ( err : Error ) -> io:: Error {
310297 io:: Error :: new ( io:: ErrorKind :: Other , err)
You can’t perform that action at this time.
0 commit comments