From e13fd4bb2f36fc2386329d90a1e323c38fd2f63e Mon Sep 17 00:00:00 2001 From: Kamen Mladenov Date: Wed, 5 Feb 2025 11:37:10 +0200 Subject: feat(guests/graph_coloring): Make coloring pairs type more succinct --- guests/graph_coloring/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guests') diff --git a/guests/graph_coloring/src/lib.rs b/guests/graph_coloring/src/lib.rs index 6dc1cf3..a0cdd3a 100644 --- a/guests/graph_coloring/src/lib.rs +++ b/guests/graph_coloring/src/lib.rs @@ -9,7 +9,7 @@ use alloc::vec::Vec; pub fn main( graph: Vec>, colors: u32, - coloring: Vec>, + coloring: Vec<[u32; 2]>, ) -> bool { // Does it use the correct amount of colors? let mut max_color = coloring[0][1]; -- cgit v1.2.3