Skip to content
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

generate missing param docs #19352

Conversation

newcomertv
Copy link

Generates doc comments for function parameters if not already present.

This follows the way how most of rustc does it since there is no official style guideline but doc comments aren't allowed directly above parameters.

Definitely can be improved upon. Just wondering if there is general interest in such a feature and what would be the requirements.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 13, 2025
@newcomertv newcomertv force-pushed the newcomertv/add-parameter-doc-comments branch from e993b7c to 50a7954 Compare March 17, 2025 14:07
@Veykril
Copy link
Member

Veykril commented Apr 5, 2025

Closing this as discussed in #19353

@Veykril Veykril closed this Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants