We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clippy::unused_unit
1 parent 9cc3dab commit afd569fCopy full SHA for afd569f
src/unix/hurd/mod.rs
@@ -3473,14 +3473,12 @@ f! {
3473
let size_in_bits = 8 * mem::size_of_val(&cpuset.bits[0]); // 32, 64 etc
3474
let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits);
3475
cpuset.bits[idx] |= 1 << offset;
3476
- ()
3477
}
3478
3479
pub fn CPU_CLR(cpu: usize, cpuset: &mut cpu_set_t) -> () {
3480
3481
3482
cpuset.bits[idx] &= !(1 << offset);
3483
3484
3485
3486
pub fn CPU_ISSET(cpu: usize, cpuset: &cpu_set_t) -> bool {
0 commit comments