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

Implement attributes for the new container limit kinds #124

Merged
merged 9 commits into from Oct 30, 2020

Conversation

samuelsleight
Copy link
Contributor

This PR implements the attributes for the new limit kinds introduced in the previous PR (#118), taking care of issues #76 and #110.

For #76, I'm conscious of the fact that a decision around the specific attrbute was never reached so I've arbitrarily opted for bits_read and bytes_read to avoid overloading any existing attributes, though I'm more than happy to change this if we decide something else is better.

@sharksforarms
Copy link
Owner

Small comments! Looks good to me!

Naming is hard.

@samuelsleight
Copy link
Contributor Author

Naming is hard.

Oh man, this is certainly true 😛 I really wish I could come up with something better for these bits/bytes attributes

These are then used to remove the weird `until` case in the expansion of the proc-macro
@sharksforarms sharksforarms merged commit af9659b into sharksforarms:master Oct 30, 2020
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.

None yet

2 participants