Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing derived lens documentation #1696

Merged

Conversation

hampuslidin
Copy link
Contributor

If you enable warn(missing_docs) lint when deriving Lens on a type, it will detect missing documentation on the #ty_derived_lenses module, as well as the fn new() associated function on the lenses. This PR fixes that by adding the missing documentation.

@hampuslidin hampuslidin marked this pull request as ready for review April 4, 2021 17:48
@SecondFlight
Copy link
Collaborator

Thanks for addressing the comment! I'll have to let someone else approve this PR. I don't know quite enough about derived lenses to know if the wording is accurate.

@SecondFlight SecondFlight added the S-needs-review waits for review label Apr 5, 2021
druid-derive/src/lens.rs Outdated Show resolved Hide resolved
druid-derive/src/lens.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@maan2003 maan2003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@maan2003 maan2003 merged commit 2c5d73c into linebender:master Apr 8, 2021
@maan2003 maan2003 removed the S-needs-review waits for review label May 3, 2021
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.

3 participants