Remove unnecessary mut

Signed-off-by: Rin Cat (鈴猫) <rincat@rincat.dev>
This commit is contained in:
Rin Cat (鈴猫) 2025-02-14 13:02:25 -05:00
parent 53a437c45b
commit b2d0e0ae98
Signed by: RinCat
GPG Key ID: 4B857E8B2AFC09BC

View File

@ -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 {