Fix iterator related clippy style lint violations (#36437)

Release Notes:

- N/A
This commit is contained in:
tidely 2025-08-19 11:06:35 +03:00 committed by GitHub
parent 176c445817
commit 1fbb318714
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 21 additions and 33 deletions

View file

@ -86,7 +86,7 @@ pub fn serialize_operation(operation: &crate::Operation) -> proto::Operation {
proto::operation::UpdateCompletionTriggers {
replica_id: lamport_timestamp.replica_id as u32,
lamport_timestamp: lamport_timestamp.value,
triggers: triggers.iter().cloned().collect(),
triggers: triggers.clone(),
language_server_id: server_id.to_proto(),
},
),