From 9c48226c8f24bee5edfb2d38199cb808a94d939d Mon Sep 17 00:00:00 2001 From: Naja Melan Date: Sat, 21 Mar 2020 17:14:45 +0100 Subject: [PATCH] chore: Remove needless closing/opening of the impl block on WebSocketContext. --- src/protocol/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/protocol/mod.rs b/src/protocol/mod.rs index 6803100..0027dcc 100644 --- a/src/protocol/mod.rs +++ b/src/protocol/mod.rs @@ -410,9 +410,7 @@ impl WebSocketContext { } self.write_pending(stream) } -} -impl WebSocketContext { /// Try to decode one message frame. May return None. fn read_message_frame(&mut self, stream: &mut Stream) -> Result> where