Skip to content

Enhancement(19_smart_pointers): file order confusion #2235

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

Open
Andebugulin opened this issue Apr 10, 2025 · 0 comments
Open

Enhancement(19_smart_pointers): file order confusion #2235

Andebugulin opened this issue Apr 10, 2025 · 0 comments

Comments

@Andebugulin
Copy link

Hey, I was just practicing rustlings and got confused in the chapter 19_smart_pointers

Main Problem (Confusion)

Steps that I took:

  • I checked README.md
  • saw first file in my editor with the number 1 in the end arc1, thought it is the first I need to do
  • opened and complited arc1
  • compiled and ran with rustlings run
  • got disappointed because I started with the wrong order
  • ran with rustlings run arc1
  • then I thought why the naming is so strange, because before it was in order like name1.rs, name2.rs and this is only one chapter with different order.
❯ tree exercises/19_smart_pointers 
exercises/19_smart_pointers
├── arc1.rs
├── box1.rs
├── cow1.rs
├── rc1.rs
└── README.md

Suggestion

I would recommend to make an order somehow, because it is not intuitive what exercise goes first and next and next without compiling, and in README.md there are no order specifications

according to the previous chapters order most likely should be like this:
smart_pointer1.rs
smart_pointer2.rs
smart_pointer3.rs
that would follow previous order template and would be intuitive

or another way of resolving the issue would be mentioning correct or expected order in the README.md
Thank you :)

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

No branches or pull requests

1 participant