Refactor out common code into a IndexItem::new constructor#149452
Refactor out common code into a IndexItem::new constructor#149452yotamofek wants to merge 1 commit intorust-lang:mainfrom
IndexItem::new constructor#149452Conversation
|
@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. |
|
☔ The latest upstream changes (presumably #151395) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Will need to be rebased on top of #149460 once that is merged. |
#149404