From f89db6df4d92e67852cd1dd47180b3ecb11b6a49 Mon Sep 17 00:00:00 2001 From: bitful-pannul Date: Sun, 22 Dec 2024 02:15:57 +0200 Subject: [PATCH] kv docs tweak --- lib/src/kv.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/src/kv.rs b/lib/src/kv.rs index e127e66b0..a99bdcae3 100644 --- a/lib/src/kv.rs +++ b/lib/src/kv.rs @@ -21,8 +21,7 @@ pub enum KvAction { /// # Parameters /// * `key` - The key as a byte vector /// * `tx_id` - Optional transaction ID if this operation is part of a transaction - /// - /// Blob: Value in Vec + /// * blob: Vec - Value to store for the key Set { key: Vec, tx_id: Option }, /// Deletes a key-value pair from the database. /// @@ -58,8 +57,7 @@ pub enum KvResponse { /// /// # Fields /// * `key` - The retrieved key as a byte vector - /// - /// Blob: Value in Vec + /// * blob: Vec - Value associated with the key Get(Vec), /// Indicates an error occurred during the operation. Err(KvError),