@@ -70,7 +70,7 @@ impl<W: AsyncWrite + Unpin> AsyncWrite for LineWriter<'_, W> {
7070 }
7171 let data_len = data_len + 4 ;
7272 let len_buf = u16_to_hex ( data_len as u16 ) ;
73- * this. state = State :: WriteHexLen ( len_buf, 0 )
73+ * this. state = State :: WriteHexLen ( len_buf, 0 ) ;
7474 }
7575 State :: WriteHexLen ( hex_len, written) => {
7676 while * written != hex_len. len ( ) {
@@ -81,9 +81,9 @@ impl<W: AsyncWrite + Unpin> AsyncWrite for LineWriter<'_, W> {
8181 * written += n;
8282 }
8383 if this. prefix . is_empty ( ) {
84- * this. state = State :: WriteData ( 0 )
84+ * this. state = State :: WriteData ( 0 ) ;
8585 } else {
86- * this. state = State :: WritePrefix ( this. prefix )
86+ * this. state = State :: WritePrefix ( this. prefix ) ;
8787 }
8888 }
8989 State :: WritePrefix ( buf) => {
@@ -95,7 +95,7 @@ impl<W: AsyncWrite + Unpin> AsyncWrite for LineWriter<'_, W> {
9595 let ( _, rest) = std:: mem:: take ( buf) . split_at ( n) ;
9696 * buf = rest;
9797 }
98- * this. state = State :: WriteData ( 0 )
98+ * this. state = State :: WriteData ( 0 ) ;
9999 }
100100 State :: WriteData ( written) => {
101101 while * written != data. len ( ) {
@@ -110,7 +110,7 @@ impl<W: AsyncWrite + Unpin> AsyncWrite for LineWriter<'_, W> {
110110 * this. state = State :: Idle ;
111111 return Poll :: Ready ( Ok ( written) ) ;
112112 } else {
113- * this. state = State :: WriteSuffix ( this. suffix )
113+ * this. state = State :: WriteSuffix ( this. suffix ) ;
114114 }
115115 }
116116 State :: WriteSuffix ( buf) => {
0 commit comments