Skip to content

Commit

Permalink
Assert is internal now (fixup rust-lang#22739)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Feb 25, 2015
1 parent e61a790 commit 2470fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/unix/pipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 2470fa1

Please sign in to comment.