Fix building with current rust

&[T, ..n] isn't coerced to &[T] anymore, so we have to manually do that
in a few places.
Merge pull request #16 from dotdash/rustup

Fix building with current rust