@@ -53,7 +53,7 @@ fn compress_full(compressor: &mut Compress, output: &mut Vec<u8>, input: &[u8])
5353 . compress_vec ( & input[ offset..] , output, FlushCompress :: None )
5454 . unwrap ( )
5555 {
56- Status :: Ok => continue ,
56+ Status :: Ok => ( ) ,
5757 Status :: BufError => output. reserve ( 4096 ) ,
5858 Status :: StreamEnd => break ,
5959 }
@@ -65,7 +65,7 @@ fn compress_full(compressor: &mut Compress, output: &mut Vec<u8>, input: &[u8])
6565 . compress_vec ( & [ ] , output, FlushCompress :: Sync )
6666 . unwrap ( )
6767 {
68- Status :: Ok | Status :: BufError => continue ,
68+ Status :: Ok | Status :: BufError => ( ) ,
6969 Status :: StreamEnd => break ,
7070 }
7171 }
@@ -144,7 +144,7 @@ async fn forward_shard(
144144 if let Ok ( serialized) = to_string ( & ready_payload) {
145145 debug ! ( "[Shard {shard_id}] Sending newly created READY" ) ;
146146 let _res = stream_writer. send ( Message :: Text ( serialized) ) ;
147- } ;
147+ }
148148
149149 // Send GUILD_CREATE/GUILD_DELETEs based on guild availability
150150 for payload in shard_status. guilds . get_guild_payloads ( & mut seq) {
@@ -153,7 +153,7 @@ async fn forward_shard(
153153 "[Shard {shard_id}] Sending newly created GUILD_CREATE/GUILD_DELETE payload" ,
154154 ) ;
155155 let _res = stream_writer. send ( Message :: Text ( serialized) ) ;
156- } ;
156+ }
157157 }
158158 } else {
159159 let _res = stream_writer. send ( Message :: Text ( RESUMED . to_string ( ) ) ) ;
0 commit comments