Add `#[inline]`

I think that this is needed so that the `Slice` is created in the caller's
stack.