Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Apply clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Nov 28, 2024
1 parent e84cb8a commit d25ac8e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion datafusion/catalog/src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ use datafusion_common::Result;
/// [`UnityCatalogProvider`]: https://github.com/delta-io/delta-rs/blob/951436ecec476ce65b5ed3b58b50fb0846ca7b91/crates/deltalake-core/src/data_catalog/unity/datafusion.rs#L111-L123
///
/// [`TableProvider`]: crate::TableProvider
pub trait CatalogProvider: Debug + Sync + Send {
/// Returns the catalog provider as [`Any`]
/// so that it can be downcast to a specific implementation.
Expand Down
2 changes: 1 addition & 1 deletion datafusion/physical-plan/src/aggregates/topk/heap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ impl<VAL: ValueType> TopKHeap<VAL> {
impl<VAL: ValueType> Display for TopKHeap<VAL> {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
let mut output = String::new();
if self.heap.first().is_some() {
if !self.heap.is_empty() {
self._tree_print(0, String::new(), true, &mut output);
}
write!(f, "{}", output)
Expand Down

0 comments on commit d25ac8e

Please sign in to comment.