Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyNeubauer committed Oct 8, 2024
1 parent 27f5153 commit 09eeedd
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 09eeedd

Please sign in to comment.