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

Supports accessing nested fields with lens macro #1764

Merged
merged 4 commits into from
May 13, 2021

Conversation

maan2003
Copy link
Collaborator

@maan2003 maan2003 commented May 7, 2021

Now this is valid

struct Foo { x: Bar }
struct Bar { y: [i32; 10] }
lens!(Foo, x.y[5]);

@maan2003 maan2003 added the S-needs-review waits for review label May 8, 2021
Copy link
Collaborator

@jneem jneem left a comment

Choose a reason for hiding this comment

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

Cool!

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

2 participants