chore: address Rust 1.75 clippy lints (#3231)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Chethan Rao
2024-01-05 16:22:31 +05:30
committed by GitHub
parent f30ba89884
commit c8279b110e
25 changed files with 141 additions and 142 deletions

View File

@ -156,7 +156,7 @@ fn compile_request_pm_types(
let or_node_neighbor_id = if amount_nodes.len() == 1 {
amount_nodes
.get(0)
.first()
.copied()
.ok_or(KgraphError::IndexingError)?
} else {