mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Remove uint/int inside components/util
(partial #4745).
This leaves range.rs alone.
This commit is contained in:
parent
55f7636549
commit
aaf7a7e439
11 changed files with 69 additions and 69 deletions
|
@ -12,7 +12,7 @@ fn hexdump_slice(buf: &[u8]) {
|
|||
let mut stderr = io::stderr();
|
||||
stderr.write_all(b" ").unwrap();
|
||||
for (i, &v) in buf.iter().enumerate() {
|
||||
let output = format!("{:02X} ", v as uint);
|
||||
let output = format!("{:02X} ", v);
|
||||
stderr.write_all(output.as_bytes()).unwrap();
|
||||
match i % 16 {
|
||||
15 => { stderr.write_all(b"\n ").unwrap(); },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue