Explicitly borrow slices.

Implicit borrowing of slice literals was disallowed with
rust-lang/rust#18645. This fixes the compilation error that comes as a
result of the change.