Rust

Rust

Made by DeepSource

Found redundant wildcard patterns RS-W1213

Anti-pattern
Minor
Autofix

Successive wildcard patterns (_) add noise to code, use the rest pattern (..) instead.

Consider using .. instead of multiple _.

Bad practice

let (x, _, _, _, _) = get_five_tuple();

Recommended

let (x, ..) = get_five_tuple();