Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyNeubauer authored and bastibl committed Oct 10, 2024
1 parent 669290c commit 06d247d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/impls/hackrfone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl crate::RxStreamer for RxStreamer {
) -> Result<usize, Error> {
debug_assert_eq!(buffers.len(), 1);

if buffers[0].len() == 0 {
if buffers[0].is_empty() {
return Ok(0);
}
let buf = self.stream.as_mut().unwrap().read_sync(buffers[0].len())?;
Expand Down

0 comments on commit 06d247d

Please sign in to comment.