aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/debug_utils.rs
diff options
context:
space:
mode:
authorAlexandru Cojocaru <xojoc@gmx.com>2015-01-29 02:36:27 +0100
committerMs2ger <ms2ger@gmail.com>2015-02-28 15:03:07 +0100
commitaaf7a7e43986e7988ca185f1517376bf7bc0bd39 (patch)
tree83ec38aeac017667448a2631ff0c5a2228252f99 /components/util/debug_utils.rs
parent55f763654910bb3110a8853d74481290a4e591af (diff)
downloadservo-aaf7a7e43986e7988ca185f1517376bf7bc0bd39.tar.gz
servo-aaf7a7e43986e7988ca185f1517376bf7bc0bd39.zip
Remove uint/int inside `components/util` (partial #4745).
This leaves range.rs alone.
Diffstat (limited to 'components/util/debug_utils.rs')
-rw-r--r--components/util/debug_utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/debug_utils.rs b/components/util/debug_utils.rs
index 8d9789de029..f7c02b8068b 100644
--- a/components/util/debug_utils.rs
+++ b/components/util/debug_utils.rs
@@ -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(); },