about summary refs log tree commit diff
path: root/src/doc/style-guide
AgeCommit message (Expand)AuthorLines
2023-09-27Auto merge of #114901 - compiler-errors:style-guide-wc, r=calebcartwrightbors-6/+32
2023-09-21Rollup merge of #114394 - joshtriplett:style-guide-as, r=calebcartwrightMatthias Krüger-8/+20
2023-09-19Rollup merge of #113383 - joshtriplett:style-bugs, r=compiler-errorsGuillaume Gomez-0/+13
2023-08-23Remove opinions from style guide about where clauses in type alias itemsMichael Goulet-6/+9
2023-08-17style-guide: Add guidance for defining formatting for specific macrosJosh Triplett-1/+6
2023-08-16Describe how to format trailing where clausesMichael Goulet-2/+25
2023-08-16bugfix: reflect how rustfmt formats type aliasesMichael Goulet-3/+3
2023-08-04style-guide: Expand documentation on `as` casts (mostly like a binary operator)Josh Triplett-8/+20
2023-08-01Rollup merge of #114262 - ShapelessCat:fix-style-guide-md, r=joshtriplettMatthias Krüger-152/+118
2023-08-01Rollup merge of #113394 - joshtriplett:style-edition-snapshot, r=calebcartwrightMatthias Krüger-0/+47
2023-07-31Link to the Rust edition guide for more information about editionsJosh Triplett-4/+6
2023-07-31style-guide: Document style editions, start 2024 style editionJosh Triplett-0/+45
2023-07-31Use - instead of * for unordered listLan, Jian-53/+55
2023-07-31Improve the rust style guide docLan, Jian-134/+98
2023-07-27docs(style-guide): don't flatten match arms with macro callCaleb Cartwright-1/+6
2023-07-21Simplify wording in guide for unbraced closuresJosh Triplett-2/+2
2023-07-21Clarify guide for unbraced closures, regarding commentsJosh Triplett-2/+2
2023-07-21Clarify guide for unbraced closures: grammatical consistencyJosh Triplett-3/+3
2023-07-21Clarify conditions for single-line blocksJosh Triplett-2/+2
2023-07-21Use roman 4 letter instead of wordIvan Tham-2/+2
2023-07-21Add missing code fencecherryblossom000-0/+2
2023-07-20Clarify wording on breaking arrays across linesJosh Triplett-1/+1
2023-07-20style-guide: Fix example to match the rule it exemplifies (and match rustfmt)Josh Triplett-1/+2
2023-07-20style-guide: Fix typo: s/right-hand side/left-hand side/Josh Triplett-1/+1
2023-07-20style-guide: Add an additional chaining exampleJosh Triplett-1/+4
2023-07-20style-guide: Avoid using "should" or "may" for required parts of the default ...Josh Triplett-220/+252
2023-07-20style-guide: Simplify the structure of a recommendation (no semantic change)Josh Triplett-3/+1
2023-07-20style-guide: Fix an example to match the styleJosh Triplett-1/+1
2023-07-20style-guide: Fix typo: s/forth/fourth/gJosh Triplett-2/+2
2023-07-20style-guide: Remove material about tool configurabilityJosh Triplett-46/+2
2023-07-13Correct `the` -> `there` typo in items.mdAlyssa Haroldsen-1/+1
2023-07-11Rollup merge of #113385 - joshtriplett:style-guide-cleanup-chains, r=calebcar...Jubilee-4/+3
2023-07-11Rollup merge of #113386 - joshtriplett:style-guide-combinable-expressions, r=...Matthias Krüger-0/+10
2023-07-06Rollup merge of #113384 - joshtriplett:style-guide-grammar, r=compiler-errorsfee1-dead-11/+12
2023-07-06Rollup merge of #113145 - joshtriplett:style-guide-document-assignment-newlin...fee1-dead-2/+3
2023-07-05style-guide: Expand example of combinable expressions to include arraysJosh Triplett-0/+10
2023-07-05style-guide: Fix chain example to match rustfmt behaviorJosh Triplett-4/+3
2023-07-05style-guide: Rename "smallntp" non-terminal to "small_no_tuple" for clarityJosh Triplett-4/+4
2023-07-05style-guide: Clarify grammar for small patterns (not a semantic change)Josh Triplett-11/+12
2023-07-05style-guide: Add chapter for nightly formattingJosh Triplett-3/+5
2023-07-05Clarify that style guide does not cover nightly-only featuresMichael Goulet-0/+4
2023-07-05style-guide: Add section on bugs, and resolving bugsJosh Triplett-0/+13
2023-06-29Rollup merge of #113143 - joshtriplett:style-guide-narrow-dereference-guidanc...Matthias Krüger-1/+2
2023-06-29Rollup merge of #113140 - joshtriplett:style-guide-example-multi-line-attribu...Matthias Krüger-0/+5
2023-06-28style-guide: Document newline rules for assignment operatorsJosh Triplett-2/+3
2023-06-28style-guide: Narrow guidance about references and dereferencingJosh Triplett-1/+2
2023-06-28style-guide: Add an example of formatting a multi-line attributeJosh Triplett-0/+5
2023-06-28syle-guide: Clarify let-else furtherJosh Triplett-2/+24
2023-06-24Rollup merge of #112912 - joshtriplett:style-let-else-clarifications, r=caleb...Guillaume Gomez-43/+62
2023-06-23Rollup merge of #112944 - joshtriplett:style-guide-defaults-vs-configurabilit...Matthias Krüger-0/+12