phildawes/racer — pull request #21 by zsiciarz (2014-07-04 11:47:37+00:00)
Title: Use as_bytes() for string indexing.

Recent rustc nightly (rust-lang/rust#15085) removed support for indexing `&str` objects. `as_bytes()` is a zero-cost view of the underlying array.