Assert is internal now (fixup #22739)

This commit is contained in:
Manish Goregaokar 2015-02-25 14:11:37 +05:30
parent e61a790495
commit 2470fa155e

View File

@ -145,7 +145,7 @@ impl UnixStream {
fd: self.fd(),
guard: unsafe { self.inner.lock.lock().unwrap() },
};
assert!(set_nonblocking(self.fd(), true).is_ok());
set_nonblocking(self.fd(), true);
ret
}