From 811c7402ffaa43c2c3908f995b37365e04882880 Mon Sep 17 00:00:00 2001
From: Chris Wong <lambda.fairy@gmail.com>
Date: Thu, 3 Aug 2023 00:11:10 +1000
Subject: [PATCH] Fix Clippy redundant-guards warning (#387)

---
 maud/tests/control_structures.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maud/tests/control_structures.rs b/maud/tests/control_structures.rs
index 3834e52..5a8cd57 100644
--- a/maud/tests/control_structures.rs
+++ b/maud/tests/control_structures.rs
@@ -152,7 +152,7 @@ fn match_expr_with_guards() {
     for &(input, output) in &[(Some(1), "one"), (None, "none"), (Some(2), "2")] {
         let result = html! {
             @match input {
-                Some(value) if value == 1 => "one",
+                Some(value) if value % 3 == 1 => "one",
                 Some(value) => (value),
                 None => "none",
             }