]> git.lizzy.rs Git - rust.git/blobdiff - src/libserialize/hex.rs
Deprecate the bytes!() macro.
[rust.git] / src / libserialize / hex.rs
index 8ae3336c342b4aed27428b04efcf1a5355b45f9d..44d0606185345be24ff6eea88a2fd849ec48c85e 100644 (file)
@@ -19,7 +19,7 @@ pub trait ToHex {
     fn to_hex(&self) -> String;
 }
 
-static CHARS: &'static[u8] = bytes!("0123456789abcdef");
+static CHARS: &'static[u8] = b"0123456789abcdef";
 
 impl<'a> ToHex for &'a [u8] {
     /**