about summary refs log tree commit diff
path: root/tvix/eval/src/value/mod.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-12-09T11·09+0200
committerclbot <clbot@tvl.fyi>2023-12-09T12·58+0000
commitd3ecef1a5b35d1a5a78ddba218fae89553c12ee5 (patch)
tree9f2ff71c8a465bf0752fc5cb3736083d3ce3b84b /tvix/eval/src/value/mod.rs
parentf11c6d610ce002774df714cf2c998989643dccfa (diff)
refactor(tvix/eval): address clippy lints r/7134
Change-Id: Ic2bd4e8291b30ceac9fa0e88a4f56e61ae99b603
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10227
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/value/mod.rs')
-rw-r--r--tvix/eval/src/value/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/value/mod.rs b/tvix/eval/src/value/mod.rs
index 6d9a6ada73bb..2fb27d8dc885 100644
--- a/tvix/eval/src/value/mod.rs
+++ b/tvix/eval/src/value/mod.rs
@@ -870,7 +870,7 @@ mod tests {
 
         #[test]
         fn format_float() {
-            let ff = vec![
+            let ff = [
                 (0f64, "0"),
                 (1.0f64, "1"),
                 (-0.01, "-0.01"),