about summary refs log tree commit diff
path: root/tvix/store/src/blobservice
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-06-30T11·49+0200
committerclbot <clbot@tvl.fyi>2023-06-30T12·30+0000
commit3edc580e8070cff1cbfc1d93e78b9128b9b43ecc (patch)
treefdfc71b211a932a7dfc9f02dbd0b98c134d99896 /tvix/store/src/blobservice
parent9f600de22671ee1f88e6fb9e53a5a385b434871b (diff)
docs(tvix/store/blobservice): update docstring r/6369
Change-Id: I6ae693a66530e1ecca57723a97d56b309fa0651a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8881
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/store/src/blobservice')
-rw-r--r--tvix/store/src/blobservice/memory.rs2
-rw-r--r--tvix/store/src/blobservice/sled.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tvix/store/src/blobservice/memory.rs b/tvix/store/src/blobservice/memory.rs
index 244055258ef9..8963deefd42b 100644
--- a/tvix/store/src/blobservice/memory.rs
+++ b/tvix/store/src/blobservice/memory.rs
@@ -54,7 +54,7 @@ impl BlobService for MemoryBlobService {
 pub struct MemoryBlobWriter {
     db: Arc<RwLock<HashMap<B3Digest, Vec<u8>>>>,
 
-    /// Contains the Vec and hasher, or None if already closed
+    /// Contains the buffer Vec and hasher, or None if already closed
     writers: Option<(Vec<u8>, blake3::Hasher)>,
 
     /// The digest that has been returned, if we successfully closed.
diff --git a/tvix/store/src/blobservice/sled.rs b/tvix/store/src/blobservice/sled.rs
index 22dcd757f2bb..bff50ff3eb4a 100644
--- a/tvix/store/src/blobservice/sled.rs
+++ b/tvix/store/src/blobservice/sled.rs
@@ -82,7 +82,7 @@ impl BlobService for SledBlobService {
 pub struct SledBlobWriter {
     db: sled::Db,
 
-    /// Contains the Vec and hasher, or None if already closed
+    /// Contains the buffer Vec and hasher, or None if already closed
     writers: Option<(Vec<u8>, blake3::Hasher)>,
 
     /// The digest that has been returned, if we successfully closed.