Skip to content

Commit

Permalink
Fix datasource is_empty calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey authored and robin-nitrokey committed Oct 25, 2023
1 parent 58152e8 commit 8b0d071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command/datasource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl<W: super::Writer> DataSource for [&dyn DataStream<W>] {
}

fn is_empty(&self) -> bool {
self.iter().all(|item| !item.is_empty())
self.iter().all(|item| item.is_empty())
}
}

Expand Down

0 comments on commit 8b0d071

Please sign in to comment.