minor cleanup
This commit is contained in:
@@ -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) }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user