about summary refs log tree commit diff
path: root/src/doc/style-guide
AgeCommit message (Expand)AuthorLines
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
2023-06-23Rollup merge of #112942 - joshtriplett:style-guide-tweaks, r=compiler-errorsMatthias Krüger-72/+88
2023-06-22style-guide: Add language disclaiming any effects on non-default Rust stylesJosh Triplett-0/+12
2023-06-22style-guide: Avoid referring to the style team in the past tenseJosh Triplett-2/+2
2023-06-22style-guide: Define what an item isJosh Triplett-0/+5
2023-06-22style-guide: Make link text in SUMMARY.md match the headings in the linked pagesJosh Triplett-5/+7
2023-06-22style-guide: Avoid hyphenating "semicolon"Josh Triplett-8/+8
2023-06-22style-guide: Rephrase a confusingly ordered, ambiguous sentence (and fix a typo)Josh Triplett-2/+3
2023-06-22style-guide: Reword an awkwardly phrased recommendation (and fix a typo)Josh Triplett-2/+2
2023-06-22style-guide: Clarify advice on names matching keywordsJosh Triplett-3/+3
2023-06-22style-guide: Avoid normative recommendations for formatting tool configurabilityJosh Triplett-6/+2
2023-06-22style-guide: Update cargo.md for authors being optional and not recommendedJosh Triplett-9/+10
2023-06-22style-guide: Define (and capitalize) "ASCIIbetically"Josh Triplett-3/+3
2023-06-22style-guide: Remove inaccurate statement about rustfmtJosh Triplett-4/+0
2023-06-22style-guide: Consistently refer to rustfmt as `rustfmt`Josh Triplett-5/+5
2023-06-22style-guide: s/right-ward/rightward/Josh Triplett-1/+1
2023-06-22style-guide: Move and expand text about trailing commasJosh Triplett-7/+21
2023-06-22style-guide: Move text about block vs visual indent to indentation sectionJosh Triplett-17/+18
2023-06-22style-guide: Fix typoJosh Triplett-1/+1
2023-06-21style-guide: Rewrite let-else section for clarity, without changing formattingJosh Triplett-43/+62