From 6c644d1256c337711f136be4da967fe709822ab1 Mon Sep 17 00:00:00 2001 From: ika4422 Date: Mon, 13 Apr 2026 11:38:47 +0100 Subject: [PATCH] fixed maximum radix value from 32 to 36 --- src/models.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models.rs b/src/models.rs index 5424653..e117baf 100644 --- a/src/models.rs +++ b/src/models.rs @@ -100,7 +100,7 @@ impl std::str::FromStr for Base { .map_err(|_| format!("'{}' is not a valid base", s))?, }; - if (2..=32).contains(&radix) { + if (2..=36).contains(&radix) { Ok(Base(radix)) } else { Err(format!("base must be between 2 and 36, got {}", radix))