Fix a bunch of clippy lints

This commit is contained in:
Johannes Linke 2016-01-02 16:51:01 +01:00
parent b1ca3d1cdf
commit 6b215f38ee
58 changed files with 281 additions and 356 deletions

View file

@ -130,7 +130,7 @@ fn perform_platform_specific_initialization() {
}
}
};
match libc::setrlimit(libc::RLIMIT_NOFILE, &mut rlim) {
match libc::setrlimit(libc::RLIMIT_NOFILE, &rlim) {
0 => (),
_ => warn!("Failed to set file count limit"),
};