commit: | 8d4c8a08fee6d41a15df806d715d28c93a444fec |
author: | Trevor Bentley |
committer: | Trevor Bentley |
date: | Thu Aug 29 12:17:44 2024 +0200 |
parents: | dc5673995bfcb9d7769f8145a63909b3337026b8 |
diff --git a/src/main.rs b/src/main.rs line changes: +1/-1 index 276bcbc..21e6f37 --- a/src/main.rs +++ b/src/main.rs
@@ -22,7 +22,7 @@ use clap::Parser; use clap_num::number_range; -const MAX_DENOMINATOR: u32 = 16; +const MAX_DENOMINATOR: u32 = 32; fn frac_range(s: &str) -> Result<u32, String> { number_range(s, 1, MAX_DENOMINATOR)