File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ path = "tests/test.rs"
22
22
23
23
[dependencies ]
24
24
bufstream = " 0.1"
25
- byteorder = " >= 0.3, < 0.5"
25
+ byteorder = " 0.5"
26
26
log = " 0.3"
27
27
phf = " 0.7"
28
28
hex = " 0.1"
Original file line number Diff line number Diff line change 1
1
//! Error types.
2
2
3
- use byteorder;
4
3
use std:: error;
5
4
use std:: convert:: From ;
6
5
use std:: fmt;
@@ -227,12 +226,6 @@ impl From<DbError> for ConnectError {
227
226
}
228
227
}
229
228
230
- impl From < byteorder:: Error > for ConnectError {
231
- fn from ( err : byteorder:: Error ) -> ConnectError {
232
- ConnectError :: Io ( From :: from ( err) )
233
- }
234
- }
235
-
236
229
/// Represents the position of an error in a query.
237
230
#[ derive( Clone , PartialEq , Eq , Debug ) ]
238
231
pub enum ErrorPosition {
@@ -299,12 +292,6 @@ impl From<io::Error> for Error {
299
292
}
300
293
}
301
294
302
- impl From < byteorder:: Error > for Error {
303
- fn from ( err : byteorder:: Error ) -> Error {
304
- Error :: Io ( From :: from ( err) )
305
- }
306
- }
307
-
308
295
impl From < Error > for io:: Error {
309
296
fn from ( err : Error ) -> io:: Error {
310
297
io:: Error :: new ( io:: ErrorKind :: Other , err)
You can’t perform that action at this time.
0 commit comments