Skip to content

Would it make sense to add an additional exercise to move_semantics? #2063

@feoh

Description

@feoh

Rustlings is amazing. Heartfelt thanks to everyone involved.

I just finished move_semantics6.rs which I found quite tricky but very helpful once I solved it and understood the necessary syntax to implement ownership in one spot and borrowing in another.

Would Rustlings benefit from another similar, perhaps just a smidge more complex exercise given the tricky nature of the subject matter?

Thanks again in any case! Just a thought :)

Activity

daniel-pfeiffer

daniel-pfeiffer commented on Apr 9, 2025

@daniel-pfeiffer

Not sure where you found move_semantics6.rs. But I’m with you on the sentiment.

I came here to suggest swapping move_semantics5.rs & move_semantics4.rs. I found jumping right in to mut references, before having really seen plain references (other than &str) quite a mouthful.

feoh

feoh commented on Apr 9, 2025

@feoh
Author

Rustlings evolves over time, which is very much a good thing :)

it had changed dramatically from when I started to when I finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @feoh@daniel-pfeiffer@mo8it

        Issue actions

          Would it make sense to add an additional exercise to move_semantics? · Issue #2063 · rust-lang/rustlings