mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 14:02:57 +00:00
Assert is internal now (fixup #22739)
This commit is contained in:
parent
e61a790495
commit
2470fa155e
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user