Rollup merge of #41526 - steveklabnik:gh35950, r=GuillaumeGomez
Rollup merge of #41526 - steveklabnik:gh35950, r=GuillaumeGomez

Clean up TcpStream example

Fixes #35950

graydon/rust,GBGamer/rust,aidancully/rust,GBGamer/rust,graydon/rust,graydon/rust,GBGamer/rust,GBGamer/rust,graydon/rust,aidancully/rust,GBGamer/rust,graydon/rust,aidancully/rust,aidancully/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,graydon/rust,aidancully/rust,GBGamer/rust