minor cleanup

This commit is contained in:
auronandace
2026-03-19 13:03:16 +00:00
parent ecb0d3f33c
commit b516113722
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -1425,7 +1425,7 @@ pub unsafe fn convert_hex(s: *const c_char) -> Option<(c_ulong, isize, bool)> {
unsafe { convert_integer(s.offset(2), 16) }
.map(|(val, idx, overflow)| (val, idx + 2, overflow))
} else {
unsafe { convert_integer(s, 16) }.map(|(val, idx, overflow)| (val, idx, overflow))
unsafe { convert_integer(s, 16) }
}
}