Skip to content

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