Skip to content

Improve: fix nested code block and expand Common Suggestions in Rust bob mentoring#2405

Open
PaezCande wants to merge 1 commit into
exercism:mainfrom
PaezCande:patch-7
Open

Improve: fix nested code block and expand Common Suggestions in Rust bob mentoring#2405
PaezCande wants to merge 1 commit into
exercism:mainfrom
PaezCande:patch-7

Conversation

@PaezCande

Copy link
Copy Markdown
Contributor
  • Fixed malformed nested code block in the match suggestion
  • Expanded Common Suggestions with three new idiomatic Rust tips:
    • Prefer zero-allocation char checks over .to_uppercase()
    • Prefer .chars().any() over .contains() for character property checks
    • Prefer match on tuple over nested if/else

…bob mentoring

- Fixed malformed nested code block in the match suggestion
- Expanded Common Suggestions with three new idiomatic Rust tips:
  - Prefer zero-allocation char checks over .to_uppercase()
  - Prefer .chars().any() over .contains() for character property checks
  - Prefer match on tuple over nested if/else
@github-actions github-actions Bot added track/rust Rust track type/mentor-notes Mentor notes labels Jun 14, 2026
```

If they don't use a `match` to compare the conditions:
````md

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is intentional and formats correctly. This is not malformed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feedback and for fixing the code block! The three new Common Suggestions are still included. Let me know if there's anything else to adjust.

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

Labels

track/rust Rust track type/mentor-notes Mentor notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants