Use byte literal in libnum
This commit is contained in:
parent
daf432e8b6
commit
20d1ad9b59
@ -1376,7 +1376,7 @@ impl BigInt {
|
||||
if buf.is_empty() { return None; }
|
||||
let mut sign = Plus;
|
||||
let mut start = 0;
|
||||
if buf[0] == ('-' as u8) {
|
||||
if buf[0] == b'-' {
|
||||
sign = Minus;
|
||||
start = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user