From 4203f232ad92dae3e83032479a7c23f3fcf91578 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Sun, 12 Jan 2020 16:00:40 -0500 Subject: [PATCH] docs --- src/taskstorage/kv.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/taskstorage/kv.rs b/src/taskstorage/kv.rs index 5506b7bd5..20c4da301 100644 --- a/src/taskstorage/kv.rs +++ b/src/taskstorage/kv.rs @@ -70,7 +70,8 @@ impl<'t> KVStorage<'t> { // this bucket contains various u64s, indexed by constants above let numbers_bucket = store.int_bucket::>>(Some("numbers"))?; - // this bucket contains operations, numbered consecutively + // this bucket contains operations, numbered consecutively; the NEXT_OPERATION number gives + // the index of the next operation to insert let operations_bucket = store.int_bucket::>>(Some("operations"))?;