Skip to content

Commit

Permalink
net: change mention of net2 (#3056)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaharidichev authored Oct 27, 2020
1 parent fe2b997 commit 38605c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tokio/src/net/tcp/listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ impl TcpListener {
/// about the underlying listener; it is left up to the user to set it in
/// non-blocking mode.
///
/// This API is typically paired with the `net2` crate and the `TcpBuilder`
/// This API is typically paired with the `socket2` crate and the `Socket`
/// type to build up and customize a listener before it's shipped off to the
/// backing event loop. This allows configuration of options like
/// `SO_REUSEPORT`, binding to multiple addresses, etc.
Expand Down
2 changes: 1 addition & 1 deletion tokio/src/net/udp/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl UdpSocket {
/// about the underlying socket; it is left up to the user to set it in
/// non-blocking mode.
///
/// This can be used in conjunction with net2's `UdpBuilder` interface to
/// This can be used in conjunction with socket2's `Socket` interface to
/// configure a socket before it's handed off, such as setting options like
/// `reuse_address` or binding to multiple addresses.
///
Expand Down

0 comments on commit 38605c5

Please sign in to comment.