mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
switch to using Point in one-d-derive macros
Also start updates to make point more generic, still not complete or fully implemented. Some code cleanup
This commit is contained in:
@@ -145,7 +145,7 @@ pub fn ToAlphaNumericChar(value: u32) -> Result<char> {
|
||||
' ', '$', '%', '*', '+', '-', '.', '/', ':',
|
||||
];
|
||||
|
||||
if value < 0 || value >= (ALPHANUMERIC_CHARS.len()) {
|
||||
if value >= (ALPHANUMERIC_CHARS.len()) {
|
||||
return Err(Exceptions::index_out_of_bounds_with(
|
||||
"oAlphaNumericChar: out of range",
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user