Is there a particular reason that only this impl doesn't call `as_slice` and use the `&str` method?