Fix all clippy warnings (#564)
* Fix all clippy warnings * Revert usage of inclusive ranges * Remove redundant function argument * Revert use of unavailable pointer methods * Introduce ContiguousCaseRange
This commit is contained in:
committed by
Dan Gohman
parent
586a8835e9
commit
b288c6001a
@@ -151,7 +151,7 @@ fn handle_module(
|
||||
}
|
||||
|
||||
fn print_readonly_data(mem: &[u8]) {
|
||||
if mem.len() == 0 {
|
||||
if mem.is_empty() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user