From b2d0e0ae98afd002b047dda45defd21da8219004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rin=20Cat=20=28=E9=88=B4=E7=8C=AB=29?= Date: Fri, 14 Feb 2025 13:02:25 -0500 Subject: [PATCH] Remove unnecessary mut MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rin Cat (鈴猫) --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index c03c735..1830c75 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -129,7 +129,7 @@ impl Challenger { self.difficulty = (difficulty as f64 * DIFFICULTY_SCALE) as u32; } - pub fn issue_challenge(&mut self) -> String { + pub fn issue_challenge(&self) -> String { let (_x, y, p) = self.algorithm.create(self.difficulty); let puzzle = Puzzle {