aboutsummaryrefslogtreecommitdiff
path: root/hex.rs
diff options
context:
space:
mode:
authorKevin Ballard <[email protected]>2013-05-23 23:46:45 -0700
committerKevin Ballard <[email protected]>2013-05-23 23:46:45 -0700
commit08cdf5fde41d533aa077fd0bed0bb718c0c32723 (patch)
treec5d3667392b856084d1615c61d823c4e1858f3b3 /hex.rs
parentRemove unnecessary `unsafe` blocks (diff)
downloadrust-openssl-08cdf5fde41d533aa077fd0bed0bb718c0c32723.tar.xz
rust-openssl-08cdf5fde41d533aa077fd0bed0bb718c0c32723.zip
Update for current incoming
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 = ~"";