aboutsummaryrefslogtreecommitdiff
path: root/hex.rs
diff options
context:
space:
mode:
Diffstat (limited to 'hex.rs')
-rw-r--r--hex.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hex.rs b/hex.rs
index abd62e8a..380369f4 100644
--- a/hex.rs
+++ b/hex.rs
@@ -23,7 +23,7 @@ pub trait ToHex {
impl<'self> ToHex for &'self [u8] {
fn to_hex(&self) -> ~str {
- let chars = str::to_chars(~"0123456789ABCDEF");
+ let chars = str::to_chars("0123456789ABCDEF");
let mut s = ~"";