* Use ... instead of .. when matching a range, in preparation for
rust-lang/rust#17584 (may not be complete).
* Use the new slicing syntax (a[], a[x..y]) if possible. (Currently
String::as_slice() is blocked by rust-lang/rust#17502.)
* Change deprecated String::push_char() to String::push().