std: Remove #[allow] directives in sys modules
These were suppressing lots of interesting warnings! Turns out there was also quite a bit of dead code.
This commit is contained in:
parent
206ee0e853
commit
c933d44f7b
35 changed files with 86 additions and 176 deletions
|
@ -143,7 +143,7 @@ impl UnixStream {
|
|||
fn lock_nonblocking<'a>(&'a self) -> Guard<'a> {
|
||||
let ret = Guard {
|
||||
fd: self.fd(),
|
||||
guard: unsafe { self.inner.lock.lock().unwrap() },
|
||||
guard: self.inner.lock.lock().unwrap(),
|
||||
};
|
||||
set_nonblocking(self.fd(), true);
|
||||
ret
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue