Remove unnecessary deref().

This commit is contained in:
Rolf Timmermans 2014-12-21 00:41:05 +01:00
parent 903f5c4360
commit 82f411d8a4

View File

@ -373,7 +373,7 @@ pub fn escape_bytes(wr: &mut io::Writer, bytes: &[u8]) -> Result<(), io::IoError
try!(wr.write(bytes[start..i]));
}
try!(wr.write_str(escaped.deref()));
try!(wr.write_str(escaped));
start = i + 1;
}