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

creusot-contracts: Add Iterator impls for [T;N], &mut I #1290

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Conversation

Lysxia
Copy link
Collaborator

@Lysxia Lysxia commented Dec 4, 2024

These came up in examples I've been playing with.

@arnaudgolfouse
Copy link
Collaborator

Could you add some test cases for those?

creusot-contracts/src/std/iter.rs Outdated Show resolved Hide resolved
creusot-contracts/src/std/iter/array.rs Outdated Show resolved Hide resolved
creusot-contracts/src/std/iter/str.rs Outdated Show resolved Hide resolved
@Lysxia Lysxia changed the title creusot-contracts: Add Iterator impls for [T;N], Lines, &mut I creusot-contracts: Add Iterator impls for [T;N], &mut I Dec 11, 2024
@Lysxia
Copy link
Collaborator Author

Lysxia commented Dec 11, 2024

I removed Lines from this PR because strings are a pain. I added specs for the remaining impls and basic test examples.

@Lysxia Lysxia force-pushed the more-std branch 2 times, most recently from ef1336d to c2b4af5 Compare December 11, 2024 12:45
@Lysxia Lysxia merged commit b23abd7 into master Dec 11, 2024
6 checks passed
@Lysxia Lysxia deleted the more-std branch December 11, 2024 18:29
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.

3 participants