Slice was changed to AsSlice in libstd