Skip to content

Conversation

@JatinSanghvi
Copy link
Contributor

@JatinSanghvi JatinSanghvi commented Dec 19, 2025

This PR updates comments within solutions directory to match with the ones in exercise.

  • No functional changes

Changes Made

Matching exercise files

  • hashmaps1.rs: Replaced "e.g apple" with "e.g. apple"
  • errors5.rs: Fixed capitalization - "To do so, The" -> "To do so, the"
  • options1.rs: Renamed maybe_icecream to maybe_ice_cream

Other changes

  • strings4.rs: Fixed grammar - "kept &str" -> "kept as &str"
  • macros3.rs: Removed redundant word - "attribute macro_use attribute" -> "macro_use attribute"
  • lifetimes2.rs: Added spaces - "Solution1/2" -> "Solution 1/2". This follows the convention used in another file.

@JatinSanghvi JatinSanghvi changed the title fix: Update solution files to match exercise files fix: Match solution files with exercise files Dec 19, 2025
@mo8it mo8it merged commit 7850a73 into rust-lang:main Dec 22, 2025
6 checks passed
@mo8it
Copy link
Contributor

mo8it commented Dec 22, 2025

Thanks :)

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