Get serde2 compiling again

This commit is contained in:
Erick Tryzelaar
2014-12-05 16:24:32 -08:00
parent f240f5d2c1
commit 8b9da64e29
5 changed files with 601 additions and 561 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ pub fn escape_str<W: io::Writer>(wr: &mut W, value: &str) -> Result<(), IoError>
#[inline]
pub fn escape_char<W: io::Writer>(wr: &mut W, value: char) -> Result<(), IoError> {
let mut buf = [0, .. 4];
let mut buf = &mut [0, .. 4];
value.encode_utf8(buf);
escape_bytes(wr, buf)
}