-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Refactor out common code into a IndexItem::new constructor
#149452
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
base: main
Are you sure you want to change the base?
Conversation
|
@lolbinarycat Felt like doing something semi-mechanical that doesn't require too much concentration, so thought I'd tackle the issue you opened. But TBH, after pulling out the common code into an |
This comment has been minimized.
This comment has been minimized.
32d0484 to
6cedf2c
Compare
This comment has been minimized.
This comment has been minimized.
|
It was working on #149460 that inspired this issue, and I agree that perhaps a substruct would be a better approach. |
6cedf2c to
acd4d7e
Compare
|
What do you think about how it looks now? @lolbinarycat |
|
the amount of times I typed "sub stract" instead of "sub struct"....... 😤 |
|
|
a39f59d to
86a2e85
Compare
|
rustbot has assigned @GuillaumeGomez. Use |
|
Well, done, not sure it's an improvement, but let's see what others think. |
|
Changes look good to me. So if it's ok with lolbinarycat and notriddle, you can r=us. |
#149404