Skip to content

Commit 110f7fc

Browse files
committed
Add warning about not handling EINTR to crate docs
1 parent ec950d2 commit 110f7fc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
//! This crate is sort of an evolution of the `net2` crate after seeing the
1414
//! issues on it over time. The intention of this crate is to provide as direct
1515
//! as possible access to the system's functionality for sockets as possible. No
16-
//! extra fluff (e.g. multiple syscalls or builders) provided in this crate. As
17-
//! a result using this crate can be a little wordy, but it should give you
18-
//! maximal flexibility over configuration of sockets.
16+
//! extra fluff (e.g. multiple syscalls or builders) provided in this crate.
17+
//! This also means it doesn't handle errors such as `EINTR`. As a result using
18+
//! this crate can be a little wordy, but it should give you maximal flexibility
19+
//! over configuration of sockets.
1920
//!
2021
//! # Examples
2122
//!

0 commit comments

Comments
 (0)