ecaps2, error: Update to base64 0.5.
This commit is contained in:
parent
5d51dff9e6
commit
6a48a6bf00
3 changed files with 10 additions and 10 deletions
|
|
@ -10,7 +10,7 @@ pub enum Error {
|
|||
ParseError(&'static str),
|
||||
IoError(io::Error),
|
||||
XMLError(minidom::Error),
|
||||
Base64Error(base64::Base64Error),
|
||||
Base64Error(base64::DecodeError),
|
||||
ParseIntError(num::ParseIntError),
|
||||
}
|
||||
|
||||
|
|
@ -26,8 +26,8 @@ impl From<minidom::Error> for Error {
|
|||
}
|
||||
}
|
||||
|
||||
impl From<base64::Base64Error> for Error {
|
||||
fn from(err: base64::Base64Error) -> Error {
|
||||
impl From<base64::DecodeError> for Error {
|
||||
fn from(err: base64::DecodeError) -> Error {
|
||||
Error::Base64Error(err)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue