Skip to content

tests: Use more doc comments to describe tests and test helpers #5540

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

Merged
merged 1 commit into from
Nov 26, 2022

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Nov 26, 2022

Some tests were using /* ... */ comments, others //, but both would benefit from using doc comment syntax (///). Additionally, this ensure that comments are bound to the following function, which makes automated move refactorings less prone to losing the corresponding comment.

@Turbo87 Turbo87 added A-backend ⚙️ C-documentation 📜 Category: Documentation of crates.io itself labels Nov 26, 2022
@Turbo87 Turbo87 merged commit 23d7e73 into rust-lang:master Nov 26, 2022
@Turbo87 Turbo87 deleted the test-comments branch November 26, 2022 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-documentation 📜 Category: Documentation of crates.io itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant