Skip to content

Add missing derived lens documentation#1696

Merged
maan2003 merged 7 commits intolinebender:masterfrom
hampuslidin:feature/add-missing-derived-lens-docs
Apr 8, 2021
Merged

Add missing derived lens documentation#1696
maan2003 merged 7 commits intolinebender:masterfrom
hampuslidin:feature/add-missing-derived-lens-docs

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
@josh-audio
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.

@josh-audio josh-audio added the S-needs-review waits for review label Apr 5, 2021
maan2003 and others added 2 commits April 7, 2021 20:54
Co-authored-by: Manmeet Maan <49202620+Maan2003@users.noreply.github.com>
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