I just submitted PR #11942 to fix `.len()` to return `0`. I stil think this impl should test for null, because I'd rather not trust that `ptr::copy_nonoverlapping_memory()` does nothing with a 0 length.