about summary refs log tree commit diff
path: root/tvix/store/src
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-03-27T09·26+0200
committerclbot <clbot@tvl.fyi>2023-03-27T14·37+0000
commitd884890e56bf56dd8fe494c95b7a44a7fc13cb94 (patch)
tree0baf53c3b8c176c9130165a2525e2c14711bb983 /tvix/store/src
parent34553dfac592ed7438d95bb637088b416224a521 (diff)
docs(tvix/store/directorysvc/grpc): fix comment r/6050
We do compare for equality. This comment probably was when I tried to
compare the `Result<T, E>`, and as `E` doesn't derive PartialEq it was
annoying.

Change-Id: I18bb19528c76af91c9d24d88d55dd46d0c092d20
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8354
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/store/src')
-rw-r--r--tvix/store/src/directoryservice/grpc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/directoryservice/grpc.rs b/tvix/store/src/directoryservice/grpc.rs
index e44106b3291f..e8ab854fd449 100644
--- a/tvix/store/src/directoryservice/grpc.rs
+++ b/tvix/store/src/directoryservice/grpc.rs
@@ -294,7 +294,7 @@ mod tests {
                     .expect("must succeed")
             );
 
-            // And retrieve it. We don't compare the two structs literally
+            // And retrieve it, compare for equality.
             assert_eq!(
                 DIRECTORY_A.clone(),
                 directory_service