]> git.lizzy.rs Git - rust.git/commit
`std::net::tcp` docs: Use current syntax and types
authorBenjamin Herr <ben@0x539.de>
Fri, 1 Mar 2013 20:27:08 +0000 (21:27 +0100)
committerBenjamin Herr <ben@0x539.de>
Fri, 1 Mar 2013 21:32:24 +0000 (22:32 +0100)
commit228e83888bf3d0e14d0bc00ddd0040bb71e24a87
treee762fcbe021abc3844ff4f2752cfbfffe7d43f74
parentcab8ec242bc34dceb8aded6ec71ddf17e5966d86
`std::net::tcp` docs: Use current syntax and types

Doesn't touch non-comment lines. This changes various type_names to TypeNames
and fixes the example for `tcp::accept` that was still using the old
`match` syntax and `{|args| ...}` closures.
src/libstd/net_tcp.rs