From d7e30166bc55f81b8c3391915c201af7dca0ce44 Mon Sep 17 00:00:00 2001 From: Edward Barnard Date: Sun, 3 Apr 2016 14:59:17 +0100 Subject: Update dependencies and fix travis --- src/binary/reader.rs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/binary') diff --git a/src/binary/reader.rs b/src/binary/reader.rs index 3999d83..ffb0caf 100644 --- a/src/binary/reader.rs +++ b/src/binary/reader.rs @@ -1,19 +1,10 @@ -use byteorder::{BigEndian, Error as ByteorderError, ReadBytesExt}; +use byteorder::{BigEndian, ReadBytesExt}; use chrono::{TimeZone, UTC}; use std::io::{Cursor, Read, Seek, SeekFrom}; use std::string::{FromUtf8Error, FromUtf16Error}; use {Error, Result, PlistEvent, u64_to_usize}; -impl From for Error { - fn from(err: ByteorderError) -> Error { - match err { - ByteorderError::UnexpectedEOF => Error::UnexpectedEof, - ByteorderError::Io(err) => Error::Io(err), - } - } -} - impl From for Error { fn from(_: FromUtf8Error) -> Error { Error::InvalidData -- cgit v1.2.3