Skip to content

Fix doc order for split: first, middle, last#86

Open
SAY-5 wants to merge 1 commit into
cloudhead:masterfrom
SAY-5:fix-split-doc
Open

Fix doc order for split: first, middle, last#86
SAY-5 wants to merge 1 commit into
cloudhead:masterfrom
SAY-5:fix-split-doc

Conversation

@SAY-5
Copy link
Copy Markdown

@SAY-5 SAY-5 commented May 10, 2026

Closes #85. The doc for NonEmpty::split listed the order as "first, last, and middle", but the function returns (&T, &[T], Option<&T>) i.e. first, middle, last. Matches the existing example.

Signed-off-by: SAY-5 <SAY-5@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect documentation of the split method

1 participant