@@ -72,7 +72,7 @@ impl<W: AsyncWrite + Unpin> AsyncWrite for LineWriter<'_, W> {
7272 }
7373 let data_len = data_len + 4 ;
7474 let len_buf = u16_to_hex ( data_len as u16 ) ;
75- * this. state = State :: WriteHexLen ( len_buf, 0 )
75+ * this. state = State :: WriteHexLen ( len_buf, 0 ) ;
7676 }
7777 State :: WriteHexLen ( hex_len, written) => {
7878 while * written != hex_len. len ( ) {
@@ -83,9 +83,9 @@ impl<W: AsyncWrite + Unpin> AsyncWrite for LineWriter<'_, W> {
8383 * written += n;
8484 }
8585 if this. prefix . is_empty ( ) {
86- * this. state = State :: WriteData ( 0 )
86+ * this. state = State :: WriteData ( 0 ) ;
8787 } else {
88- * this. state = State :: WritePrefix ( this. prefix )
88+ * this. state = State :: WritePrefix ( this. prefix ) ;
8989 }
9090 }
9191 State :: WritePrefix ( buf) => {
@@ -97,7 +97,7 @@ impl<W: AsyncWrite + Unpin> AsyncWrite for LineWriter<'_, W> {
9797 let ( _, rest) = std:: mem:: take ( buf) . split_at ( n) ;
9898 * buf = rest;
9999 }
100- * this. state = State :: WriteData ( 0 )
100+ * this. state = State :: WriteData ( 0 ) ;
101101 }
102102 State :: WriteData ( written) => {
103103 while * written != data. len ( ) {
@@ -112,7 +112,7 @@ impl<W: AsyncWrite + Unpin> AsyncWrite for LineWriter<'_, W> {
112112 * this. state = State :: Idle ;
113113 return Poll :: Ready ( Ok ( written) ) ;
114114 } else {
115- * this. state = State :: WriteSuffix ( this. suffix )
115+ * this. state = State :: WriteSuffix ( this. suffix ) ;
116116 }
117117 }
118118 State :: WriteSuffix ( buf) => {
0 commit comments