Vec::into_parts() returns a NonNull pointer, but isn’t the pointer allowed to be null if the vector is empty? I would expect that this method should be able to return a null pointer, but I’m probably missing something…
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: