From f2102d1bd0eca5cf07e0068dcb7a31f7e56ebe70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Uzarski?= Date: Mon, 2 Dec 2024 14:55:06 +0100 Subject: [PATCH] clippy: remove an empty line between docstring and definition --- scylla/src/transport/load_balancing/plan.rs | 1 - scylla/src/transport/locator/tablets.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/scylla/src/transport/load_balancing/plan.rs b/scylla/src/transport/load_balancing/plan.rs index d8d2862c7d..7ae247ab13 100644 --- a/scylla/src/transport/load_balancing/plan.rs +++ b/scylla/src/transport/load_balancing/plan.rs @@ -65,7 +65,6 @@ enum PlanState<'a> { /// } /// } /// ``` - pub struct Plan<'a> { policy: &'a dyn LoadBalancingPolicy, routing_info: &'a RoutingInfo<'a>, diff --git a/scylla/src/transport/locator/tablets.rs b/scylla/src/transport/locator/tablets.rs index e2fd706ae7..472351ac9c 100644 --- a/scylla/src/transport/locator/tablets.rs +++ b/scylla/src/transport/locator/tablets.rs @@ -577,7 +577,6 @@ impl TabletsInfo { /// * Removing the keyspace and recreating it immediately without tablets. This seems so absurd /// that we most likely don't need to worry about it, but I'm putting it here as a potential problem /// for completeness. - pub(crate) fn perform_maintenance( &mut self, table_predicate: &impl Fn(&TableSpec) -> bool,