Commit dd3896fd authored by jethrogb's avatar jethrogb Committed by GitHub
Browse files

Clarify use of ssl::HandshakeError::Interrupted

parent 2fd7354c
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>),
}