Commit 78c82fa3 authored by Steven Fackler's avatar Steven Fackler Committed by GitHub
Browse files

Merge pull request #627 from jethrogb/patch-1

Clarify use of ssl::HandshakeError::Interrupted
parents 2fd7354c dd3896fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ pub enum HandshakeError<S> {
    SetupFailure(ErrorStack),
    /// The handshake failed.
    Failure(MidHandshakeSslStream<S>),
    /// The handshake was interrupted midway through.
    /// The handshake was interrupted midway through. This error will never be returned for blocking streams.
    Interrupted(MidHandshakeSslStream<S>),
}