From 1c90d33f657362aed61a0effcbe3b8390904f9d5 Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Sat, 20 Mar 2021 22:48:44 +0100 Subject: [PATCH] support old rust --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 3a37264..15161c6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -365,7 +365,7 @@ fn test_3var() { ]); let prime = find_core(&fun, &mut [A, B, C], Zero, &groups).0; assert_eq!(prime, vec![ - vec![(A, Zero), (B, Zero)], - vec![(A, One), (C, Zero)], + &[(A, Zero), (B, Zero)], + &[(A, One), (C, Zero)], ]); }