Skip to content

Conversation

@elsirion
Copy link

The last function consumes the stream and returns the last element.

Fixes #2822

@rustbot rustbot added A-stream Area: futures::stream S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 17, 2025
@elsirion elsirion marked this pull request as draft December 17, 2025 14:17
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 17, 2025
The `last` function consumes the stream and returns the last
element.
@elsirion elsirion marked this pull request as ready for review December 17, 2025 15:01
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 17, 2025
@elsirion
Copy link
Author

I'm a bit lost why clippy and docs are failing for files I haven't even touched. What am I doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-stream Area: futures::stream S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Analogue of .last() method

2 participants