Skip to content

Commit

Permalink
Trivial update src/handshake/machine.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Abramov <[email protected]>
  • Loading branch information
agalakhov and daniel-abramov authored Sep 22, 2023
1 parent f204f1b commit 61b9b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handshake/machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub struct HandshakeMachine<Stream> {
impl<Stream> HandshakeMachine<Stream> {
/// Start reading data from the peer.
pub fn start_read(stream: Stream) -> Self {
HandshakeMachine {
Self {
stream,
state: HandshakeState::Reading(ReadBuffer::new(), AttackCheck::new()),
}
Expand Down

0 comments on commit 61b9b4d

Please sign in to comment.