Skip to content

Commit 7ac1759

Browse files
committed
silence type-complexity lint on first_shard_for_statement
1 parent 738b1e1 commit 7ac1759

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scylla/src/transport/session.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1815,6 +1815,7 @@ impl Session {
18151815
/// Get the first node/shard that the load balancer would target if running this query
18161816
///
18171817
/// This may help constituting shard-aware batches
1818+
#[allow(clippy::type_complexity)]
18181819
pub fn first_shard_for_statement(
18191820
&self,
18201821
prepared: &PreparedStatement,

0 commit comments

Comments
 (0)