diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-25 14:11:37 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-25 14:11:37 +0530 |
| commit | 2470fa155e8a0793d725891da2e6963c762fa674 (patch) | |
| tree | 984907936e47e6ea1a4025bbb59c2db8e7ecf820 /src/libstd | |
| parent | e61a790495f49580fc0ee831bb07e00b4750b04a (diff) | |
| download | rust-2470fa155e8a0793d725891da2e6963c762fa674.tar.gz rust-2470fa155e8a0793d725891da2e6963c762fa674.zip | |
Assert is internal now (fixup #22739)
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/sys/unix/pipe.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/pipe.rs b/src/libstd/sys/unix/pipe.rs index 1446600a77e..33863d31437 100644 --- a/src/libstd/sys/unix/pipe.rs +++ b/src/libstd/sys/unix/pipe.rs @@ -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 } |
