Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 35906a5

Browse files
dureuillKerollmops
andcommitted
Fix doc comment
Co-authored-by: Clément Renault <[email protected]>
1 parent 8d03b2d commit 35906a5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index-scheduler/src/index_mapper.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ mod index_map {
290290

291291
/// Attempts to delete and index.
292292
///
293+
/// `end_deletion` must be called just after.
294+
///
293295
/// # Status table
294296
///
295297
/// | Previous Status | New Status | Return value |
@@ -312,7 +314,9 @@ mod index_map {
312314
}
313315
}
314316

315-
/// Marks that an index finished deletion.
317+
/// Marks that an index deletion finished.
318+
///
319+
/// Must be used after calling `start_deletion`.
316320
///
317321
/// # Status table
318322
///

0 commit comments

Comments
 (0)