-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Improve the rust style guide doc #114262
Improve the rust style guide doc #114262
Conversation
- Make the levels of headings consistent in this whole document - Fix some headings - Remove redundant empty lines - Follow the markdown linter advices to use the same symbol for different level of unordered list entries
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @yaahc (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
Some changes occurred in src/doc/style-guide cc @rust-lang/style |
Big fan of unifying the heading levels; thank you! Bikeshed: Would rather not see |
Done. Use |
@bors r+ rollup |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#111081 (impl SliceIndex<str> for (Bound<usize>, Bound<usize>)) - rust-lang#113394 (style-guide: Document style editions, start 2024 style edition) - rust-lang#113588 (bootstrap: use git merge-base for LLVM CI download logic) - rust-lang#113743 (Directly link more target docs) - rust-lang#114262 (Improve the rust style guide doc) - rust-lang#114309 (Update books) - rust-lang#114313 ([rustc_data_structures] Simplify SortedMap::insert.) r? `@ghost` `@rustbot` modify labels: rollup
Make the levels of headings consistent in this whole document.
Before this change, the highest level of headings in some file is level 1, but in most of the files the that is level 2. Not consistent.
Fix some headings
Follow the markdown linter advices