diff options
| author | Kevin Ballard <[email protected]> | 2013-12-14 18:51:43 -0800 |
|---|---|---|
| committer | Kevin Ballard <[email protected]> | 2013-12-14 18:51:43 -0800 |
| commit | bcdc23c359835fd8a3a872e8b66f47bb71046d91 (patch) | |
| tree | 04d0795f30dea9362cc2f917b09ea391224eb804 | |
| parent | Delete unused main() function (diff) | |
| download | rust-openssl-bcdc23c359835fd8a3a872e8b66f47bb71046d91.tar.xz rust-openssl-bcdc23c359835fd8a3a872e8b66f47bb71046d91.zip | |
Update for latest rustc (0.9-pre ca54ad8)
| -rw-r--r-- | hex.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20,7 +20,7 @@ pub trait ToHex { fn to_hex(&self) -> ~str; } -impl<'self> ToHex for &'self [u8] { +impl<'a> ToHex for &'a [u8] { fn to_hex(&self) -> ~str { let chars = "0123456789ABCDEF".chars().collect::<~[char]>(); @@ -46,7 +46,7 @@ pub trait FromHex { fn from_hex(&self) -> ~[u8]; } -impl<'self> FromHex for &'self str { +impl<'a> FromHex for &'a str { fn from_hex(&self) -> ~[u8] { let mut vec = vec::with_capacity(self.len() / 2); |