From a675f2999009cc727c3aef20365fd847c1fe725b Mon Sep 17 00:00:00 2001 From: Abdulla Abdurakhmanov Date: Thu, 5 Sep 2024 17:40:52 +0200 Subject: [PATCH] Clippy fixes --- Cargo.toml | 2 +- src/db/query.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8bbc8d7..94148c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "firestore" version = "0.43.0" authors = ["Abdulla Abdurakhmanov "] edition = "2021" -rust-version = "1.63" +rust-version = "1.64" license = "Apache-2.0" description = "Library provides a simple API for Google Firestore and own Serde serializer based on efficient gRPC API" homepage = "https://github.com/abdolence/firestore-rs" diff --git a/src/db/query.rs b/src/db/query.rs index 7755dbe..bfe1b4b 100644 --- a/src/db/query.rs +++ b/src/db/query.rs @@ -436,8 +436,7 @@ impl FirestoreQuerySupport for FirestoreDb { .as_ref() .unwrap_or_else(|| self.get_documents_path()) .clone(), - consistency_selector: maybe_consistency_selector - .clone(), + consistency_selector: maybe_consistency_selector, query_type: Some( partition_query_request::QueryType::StructuredQuery( query_params,