Replace all uses of &foo[] with &foo[..] en masse.
This commit is contained in:
parent
64cd30e0ca
commit
9ea84aeed4
145 changed files with 865 additions and 864 deletions
|
|
@ -198,7 +198,7 @@ impl Encodable for Ident {
|
|||
|
||||
impl Decodable for Ident {
|
||||
fn decode<D: Decoder>(d: &mut D) -> Result<Ident, D::Error> {
|
||||
Ok(str_to_ident(&try!(d.read_str())[]))
|
||||
Ok(str_to_ident(&try!(d.read_str())[..]))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue