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

New Conway.cddl updates #324

Merged
merged 6 commits into from
May 1, 2024
Merged

New Conway.cddl updates #324

merged 6 commits into from
May 1, 2024

Conversation

@rooooooooob rooooooooob marked this pull request as draft March 28, 2024 14:51
@rooooooooob rooooooooob marked this pull request as ready for review April 3, 2024 21:38
}
}

impl<T> AsRef<[T]> for NonemptySet<T> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be nice to also have IntoIterator for &'a NonemptySet<T> and I guess NonemptySet<T> I think. For loop syntax is quite convenient.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just pushed this. Added:
impl<T> IntoIterator for NonemptySet<T>
impl<'a, T> IntoIterator for &'a NonemptySet<T>
impl<'a, T> IntoIterator for &'a mut NonemptySet<T>

  • same for NonemptySetRawBytes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there anything else we need or should Deref and DerefMut take care of that?

@rooooooooob rooooooooob changed the title New Conway.cddl updates (cml-chain/cml-chain-wasm) New Conway.cddl updates Apr 9, 2024
@SebastienGllmt SebastienGllmt merged commit e34780f into develop May 1, 2024
1 check passed
@SebastienGllmt SebastienGllmt deleted the new-conway-cddl-updates branch May 1, 2024 18:56
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

3 participants