remove a lot of unecessary clone and ref

This commit is contained in:
Irevoire 2022-10-25 10:53:29 +02:00
parent 6f418e73d0
commit 2a1f4ac4d9
No known key found for this signature in database
GPG key ID: 7A6A970C96104F1B
5 changed files with 32 additions and 32 deletions

View file

@ -130,7 +130,7 @@ impl CompatV5ToV6 {
v5::Details::DocumentAddition { received_documents, indexed_documents } => {
v6::Details::DocumentAdditionOrUpdate {
received_documents: received_documents as u64,
indexed_documents: indexed_documents.map(|i| i as u64),
indexed_documents,
}
}
v5::Details::Settings { settings } => {