Fix for rust change 'Disallow coercions from [T, ..n] to &[T]or *[T]'

Coercions from [T, ..n] to &[T] are not valid anymore. This patch applies the fix.