From 99881e8a16f1e99dba8de5a0dedbc18631d62a9f Mon Sep 17 00:00:00 2001
From: James Hodgkinson <james@terminaloutcomes.com>
Date: Tue, 22 Apr 2025 15:09:35 +1000
Subject: [PATCH] maint: handling uniform distribution error

---
 server/lib/src/utils.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/server/lib/src/utils.rs b/server/lib/src/utils.rs
index 2179f45b7..bd033fa42 100644
--- a/server/lib/src/utils.rs
+++ b/server/lib/src/utils.rs
@@ -80,7 +80,8 @@ impl Distribution<char> for DistinctAlpha {
         const GEN_ASCII_STR_CHARSET: &[u8] = b"ABCDEFGHJKLMNPQRSTUVWXYZ\
                 abcdefghjkpqrstuvwxyz\
                 0123456789";
-
+        // TODO: this needs to handle the error, maybe?
+        #[allow(clippy::expect_used)]
         let range = Uniform::new(0, RANGE).expect("Failed to get a uniform range");
 
         let n = range.sample(rng);