diff --git a/src/conn.rs b/src/conn.rs index 952565b..a7f9f15 100644 --- a/src/conn.rs +++ b/src/conn.rs @@ -144,7 +144,7 @@ fn ssl_to_io(res: Result) -> IoResult { match res { Ok(x) => Ok(x), Err(e) => Err(IoError { - kind: OtherIoError, + kind: IoErrorKind::OtherIoError, desc: "An SSL error occurred.", detail: Some(format!("{}", e)), }),