Explorar el Código

tcp: clarify comment

Dario Nieuwenhuis hace 3 años
padre
commit
c9bdbf3b25
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/socket/tcp.rs

+ 1 - 1
src/socket/tcp.rs

@@ -1307,7 +1307,7 @@ impl<'a> TcpSocket<'a> {
             (_, TcpControl::Rst, _) => (),
             // The initial SYN cannot contain an acknowledgement.
             (State::Listen, _, None) => (),
-            // This case is handled above.
+            // This case is handled in `accepts()`.
             (State::Listen, _, Some(_)) => unreachable!(),
             // Every packet after the initial SYN must be an acknowledgement.
             (_, _, None) => {