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

feat: add structs4.rs exercise #1107

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

SAbruzzo
Copy link

Added an excise in order to test methods that just read data and methods that also change data in a struct.

@RubenPX
Copy link

RubenPX commented Feb 16, 2023

looks like struct3.rs or enums3.rs but different...

The only difference i see here is this there is using methods to change state

But that's not a bad idea

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.

2 participants