Skip to content

Reduce Size of ModifierInfo#123740

Merged
bors merged 1 commit intorust-lang:masterfrom
veera-sivarajan:reduce-size-of-modifierinfo
Apr 11, 2024
Merged

Reduce Size of ModifierInfo#123740
bors merged 1 commit intorust-lang:masterfrom
veera-sivarajan:reduce-size-of-modifierinfo

Conversation

@veera-sivarajan
Copy link
Copy Markdown
Contributor

I added ModifierInfo in #121940 and had used a u64 for the size field even though the largest value it holds is 512.

This PR changes the type of the size field to u16.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants