about summary refs log tree commit diff
path: root/tvix/nix-compat
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-03-04T02·34+0100
committerclbot <clbot@tvl.fyi>2023-03-04T12·21+0000
commitdaba4cc0e58639e5cbbe7e8293bf5a34b12f3eca (patch)
tree1128c80724c9c8614cb8bacef9cfb38d67a90bd8 /tvix/nix-compat
parent93b0766485c25cb6b2f27c6a31e3306890613133 (diff)
refactor(tvix/nix-compat): address clippy in nixbase32.rs tests r/5878
Change-Id: If8820cba4cf19bf0f7aa27e0d93b70eb7b4ee81f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8221
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/nix-compat')
-rw-r--r--tvix/nix-compat/src/nixbase32.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/nixbase32.rs b/tvix/nix-compat/src/nixbase32.rs
index 0c7843fc8982..3d1c276c63bb 100644
--- a/tvix/nix-compat/src/nixbase32.rs
+++ b/tvix/nix-compat/src/nixbase32.rs
@@ -150,7 +150,7 @@ mod tests {
             }
             None => {
                 // the decode needs to be an error
-                assert_eq!(true, super::decode(enc.as_bytes()).is_err());
+                assert!(super::decode(enc.as_bytes()).is_err());
             }
         }
     }