Skip to content

Commit 2470fa1

Browse files
committed
Assert is internal now (fixup #22739)
1 parent e61a790 commit 2470fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/pipe.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ impl UnixStream {
145145
fd: self.fd(),
146146
guard: unsafe { self.inner.lock.lock().unwrap() },
147147
};
148-
assert!(set_nonblocking(self.fd(), true).is_ok());
148+
set_nonblocking(self.fd(), true);
149149
ret
150150
}
151151

0 commit comments

Comments
 (0)