Do only one convertion to u64

This commit is contained in:
Kerollmops 2022-12-13 15:10:51 +01:00
parent 5d5615ef45
commit 7b2f2a4f9c
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
3 changed files with 8 additions and 8 deletions

View file

@ -279,7 +279,7 @@ async fn document_addition(
.await;
let documents_count = match documents_count {
Ok(Ok(documents_count)) => documents_count as u64,
Ok(Ok(documents_count)) => documents_count,
// in this case the file has not possibly be persisted.
Ok(Err(e)) => return Err(e),
Err(e) => {