Avoid some `&str` to `String` conversions This patch removes some `&str` to `String` conversions.
smallvec