pub exec fn cast_slice_ptr_to_str_ptr<T>(ptr: *mut [T]) -> result : *mut strExpand description
ensures
result == spec_cast_slice_ptr_to_str_ptr::<T>(ptr),Cast a slice pointer to a str pointer.
Length is preserved even if the size of the elements changes.
Don’t call this directly; use an as-cast instead.