Browse Source

Remove redundant closure

master
Andreas Linz 5 years ago
parent
commit
ef948d4ae0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/stream.rs

+ 1
- 1
src/stream.rs View File

@ -42,7 +42,7 @@ macro_rules! write_stream {
unsafe { *addr = buffers[channel][idx] };
}
}
self.end_write().map_or(Ok(actual_frame_count), |err| Err(err))
self.end_write().map_or(Ok(actual_frame_count), Err)
}
)
}

Loading…
Cancel
Save