Explorar o código

tcp: clarify comment

Dario Nieuwenhuis %!s(int64=3) %!d(string=hai) anos
pai
achega
c9bdbf3b25
Modificáronse 1 ficheiros con 1 adicións e 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) => {