microsoft / microsoft/rust-guidelines

Clarify M-MOCKABLE-SYSCALLS that enum variant payload methods should not be pub (or wrap entire pattern in struct).

Open
#23 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
200
Forks
25
Avg merge
3m
Merged PRs (30d)
1

Description

This issue has no description.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the M-MOCKABLE-SYSCALLS guidance and determine whether enum variant payload methods should be non-public or whether the whole pattern should be wrapped in a struct. Done means the guideline clearly states the chosen approach and its intended visibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.