Remove unnecessary deref().
This commit is contained in:
parent
903f5c4360
commit
82f411d8a4
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user