This commit is contained in:
Jan-Erik Rediger
2023-03-12 19:52:00 +01:00
parent a8d7d3ccfd
commit 0af1608fbc
+1 -1
View File
@@ -415,7 +415,7 @@ impl ServerBuilder {
/// let mut listener = ts.listen(Network::Tcp, ":1999").unwrap();
///
/// // accept connections and process them serially
/// for stream in listener.incoming() {
/// for stream in listener {
/// handle_client(stream?);
/// }
/// Ok(())