We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
limit
unix::Client::new
1 parent 6075bb9 commit f028436Copy full SHA for f028436
src/unix.rs
@@ -23,10 +23,6 @@ pub struct Acquired {
23
24
impl Client {
25
pub fn new(mut limit: usize) -> io::Result<Client> {
26
- if limit > PIPE_BUF {
27
- return Err(io::Error::new(io::ErrorKind::Other, "Can't have limit larger than 4096 since the pipe would block forever when writing to it"));
28
- }
29
-
30
let client = unsafe { Client::mk()? };
31
32
// I don't think the character written here matters, but I could be
0 commit comments