diff --git a/src/unix.rs b/src/unix.rs index 98bca11..407c0a9 100644 --- a/src/unix.rs +++ b/src/unix.rs @@ -23,10 +23,6 @@ pub struct Acquired { impl Client { pub fn new(mut limit: usize) -> io::Result { - if limit > PIPE_BUF { - 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")); - } - let client = unsafe { Client::mk()? }; // I don't think the character written here matters, but I could be