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

What "first" & "second" are referring to is inconsistent #211

Open
iiYese opened this issue Dec 12, 2024 · 0 comments
Open

What "first" & "second" are referring to is inconsistent #211

iiYese opened this issue Dec 12, 2024 · 0 comments

Comments

@iiYese
Copy link
Contributor

iiYese commented Dec 12, 2024

This example shows just one instance of this. .with::<&X>().set_second_name("$x") being synonymous with .with_first_name::<&X>("$x") is confusing. In the prior "second" is referring to the name of second part of the pair but in the later "first" is referring to the type parameter not the name of the second part of the pair.

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

No branches or pull requests

1 participant