Fix comments

This commit is contained in:
Clément Renault
2025-10-08 14:15:08 +02:00
committed by Kerollmops
parent f358538f4f
commit 62c11ce3f3
2 changed files with 3 additions and 3 deletions

View File

@@ -325,7 +325,7 @@ impl DetailsView {
) {
(None, None) => None,
(None, Some(size)) | (Some(size), None) => Some(size),
// We should never be able to batch multiple renames at the same time.
// We should never be able to batch multiple compactions at the same time.
(Some(left), Some(_right)) => Some(left),
},
post_compaction_size: match (
@@ -334,7 +334,7 @@ impl DetailsView {
) {
(None, None) => None,
(None, Some(size)) | (Some(size), None) => Some(size),
// We should never be able to batch multiple renames at the same time.
// We should never be able to batch multiple compactions at the same time.
(Some(left), Some(_right)) => Some(left),
},
}

View File

@@ -20,7 +20,7 @@ use crate::routes::SummarizedTaskView;
tags(
(
name = "Compact an index",
description = "The /compact route uses compacts the database to reoganize and make it smaller and more efficient.",
description = "The /compact route uses compacts the database to reorganize and make it smaller and more efficient.",
external_docs(url = "https://www.meilisearch.com/docs/reference/api/compact"),
),
),