Conditions under which some slice methods return None seem undocumented #40435
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
Some methods of slices, including
split_first
,split_first_mut
,split_last
, andsplit_last_mut
returnOption
types withoutdocumenting the conditions under which they return
Some
vsNone
; Iwould like to suggest that these conditions be documented.
The text was updated successfully, but these errors were encountered: