From 488a6b64963ccc5576b2ea3a77393c16bfc96b34 Mon Sep 17 00:00:00 2001
From: Quaternions <krakow20@gmail.com>
Date: Thu, 5 Sep 2024 16:06:00 -0700
Subject: [PATCH] fix vector bool code

---
 fixed_wide_vectors/src/macros/vector.rs | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/fixed_wide_vectors/src/macros/vector.rs b/fixed_wide_vectors/src/macros/vector.rs
index d8766be..c542dfe 100644
--- a/fixed_wide_vectors/src/macros/vector.rs
+++ b/fixed_wide_vectors/src/macros/vector.rs
@@ -80,15 +80,13 @@ macro_rules! impl_vector {
 		}
 
 		impl<const N:usize> Vector<N,bool>{
-			const ALL:[bool;N]=[true;N];
-			const NONE:[bool;N]=[false;N];
 			#[inline]
 			pub fn all(&self)->bool{
-				core::matches!(self.array,ALL)
+				self.array==[true;N]
 			}
 			#[inline]
 			pub fn any(&self)->bool{
-				!core::matches!(self.array,NONE)
+				self.array!=[false;N]
 			}
 		}