get rid of incorrect erase_for_fmt
This commit is contained in:
parent
4e28065618
commit
7c720ce612
12 changed files with 81 additions and 119 deletions
|
@ -123,7 +123,7 @@ impl IntRange {
|
|||
// straight to the result, after doing a bit of checking. (We
|
||||
// could remove this branch and just fall through, which
|
||||
// is more general but much slower.)
|
||||
if let Ok(bits) = scalar.to_bits_or_ptr(target_size) {
|
||||
if let Ok(bits) = scalar.to_bits_or_ptr_internal(target_size) {
|
||||
return Some(bits);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue