Skip to content

Conversation

@smirzaei
Copy link
Contributor

find() has a missing example. In the docs there is a mention of an example with double reference but it doesn't exist.

image

rfind() is also very similar to find(), however it has the double reference example and no owned value example like find() does.

image

This commit adds the missing examples and making them look consistent.

`find()` has a missing example. In the docs there was a mention of an
example with double reference but it didn't exist.

`rfind()` is also very similar to `find()`, however it had the double
reference example and no owned value example like `find()` did.

This commit adds the missing examples and making them look consistent.
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Dec 22, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 22, 2025

r? @scottmcm

rustbot has assigned @scottmcm.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

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

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants