-
Notifications
You must be signed in to change notification settings - Fork 69
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
Missing documents/comments for public items #309
Labels
Milestone
Comments
qinsoon
added
A-general
Area: all code base (issues with this label may be divided into more concrete issues)
C-missing
Category: Missing stuff that should be added
labels
May 11, 2021
We currently have 368 public items that do not have comments. I plan to add comments for them, and also check if those items really should be public. I probably will submit one PR for every 50 changes or so. The PRs should be removing |
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 14, 2023
This PR is a step towards #309. * Add some tests and documents to clarify `HeaderMetadata.bit_offset` (related discussion: https://mmtk.zulipchat.com/#narrow/stream/315620-Porting/topic/ScalaNative.2FMMTK/near/398587245). * Modify the macro `define_vm_metadata_spec!` to allow adding docs for the generated types. * Add missing docs for public items in the `vm` module. Please feel free to make edits to the PR if there is any issue.
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 16, 2023
This PR is a step towards #309. * Add missing docs for some `util` modules. * Make `util::metadata::side_metadata::helpers/helpers_32` not public. * Make `util::reference_processor` not public. * Allow adding docs for options defined by the `options!` macro.
This was referenced Nov 16, 2023
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 22, 2023
This PR is a step towards #309. * Deny `missing_docs` for the `util` module and the `vm` module. * Change some items from `pub` to `pub(crate)`. * Remove some unused constants.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For documentation, a first step we can do is to add missing documents for our public types and functions. We can enforce documents with
rustdoc
'smissing_docs
lints, which requires all public items to be documented. Once #241 is done, we should then only expose a limited number of public items.The text was updated successfully, but these errors were encountered: