Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
HEAD
/
src
/
doc
/
style-guide
38e3fa6
style: Never break within a nullary function call `func()` or a unit literal `()`
by Josh Triplett
· 2 months ago
b840942
Stabilize precise capture syntax in style guide
by xizheyin
· 3 months ago
ee07e3f
doc(style): add let-chain rules
by Caleb Cartwright
· 3 months ago
e831877
Revert "[style 2024] Combine all last arg delimited exprs"
by Michael Goulet
· 6 months ago
9472d32
Rollup merge of #134975 - ehuss:revert-style-guide-rhs-break, r=compiler-errors
by Trevor Gross
· 7 months ago
7a46c7b
Revert "Rollup merge of #119838 - joshtriplett:style-guide-binop-indent, r=compiler-errors"
by Eric Huss
· 7 months ago
a6ba04a
Revert "Rollup merge of #132369 - joshtriplett:style-guide-binop-heuristic-assignment-only, r=calebcartwright"
by Eric Huss
· 7 months ago
b4a0926
Revert "Rollup merge of #119515 - joshtriplett:style-guide-gat-where-clause-same-line, r=compiler-errors"
by Eric Huss
· 7 months ago
d7e6074
style-guide: Only use the new binop heuristic for assignments
by Josh Triplett
· 9 months ago
ebf46f7
Add unsafe to extern blocks in style guide
by Santiago Pastorino
· 11 months ago
37257b4
style-guide: Clarify version-sorting
by Josh Triplett
· 1 year ago
1031d4d
Add nightly style guide section for precise_capturing
by Michael Goulet
· 1 year, 1 month ago
e098eb14
Wording improvement
by Josh Triplett
· 1 year, 2 months ago
e2d9c0d
Fix missing word
by Josh Triplett
· 1 year, 2 months ago
57c32a1
style-guide: When breaking binops handle multi-line first operand better
by Josh Triplett
· 1 year, 2 months ago
163b1a6
Reword formatting for where clauses
by Josh Triplett
· 1 year, 2 months ago
9ff777b
style-guide: Also format where clauses on one line for short function decls
by Josh Triplett
· 1 year, 2 months ago
2af29af
style-guide: Not all where clauses can be written as inline bounds
by Josh Triplett
· 1 year, 2 months ago
2f20bb4
style-guide: Give a second example for associated type formatting
by Josh Triplett
· 1 year, 2 months ago
3742a4b
style-guide: Format single associated type `where` clauses on the same line
by Josh Triplett
· 1 year, 2 months ago
61e2b41
Rollup merge of #114764 - pitaj:style-delimited-expressions, r=joshtriplett
by León Orell Valerian Liehr
· 1 year, 6 months ago
3cc4e02
Rollup merge of #115046 - joshtriplett:master, r=compiler-errors
by Matthias Krüger
· 1 year, 6 months ago
2e931b5
style-guide: Rework version-sorting algorithm
by Josh Triplett
· 1 year, 7 months ago
bed0c9d
[style 2024] Combine all last arg delimited exprs
by Peter Jaszkowiak
· 1 year, 8 months ago
7b4b1b0
Auto merge of #114901 - compiler-errors:style-guide-wc, r=calebcartwright
by bors
· 1 year, 10 months ago
47277ab
Rollup merge of #114394 - joshtriplett:style-guide-as, r=calebcartwright
by Matthias Krüger
· 1 year, 10 months ago
7a27acf
Rollup merge of #113383 - joshtriplett:style-bugs, r=compiler-errors
by Guillaume Gomez
· 1 year, 10 months ago
f06df22
Clarify "as normal" -> "lexicographically"
by Josh Triplett
· 1 year, 11 months ago
2ff14b0
Remove opinions from style guide about where clauses in type alias items
by Michael Goulet
· 1 year, 11 months ago
95eb1e2
Streamline description of versionsort (incorporate suggestion from Ralf)
by Josh Triplett
· 1 year, 11 months ago
47bb076
Clarify that version-sorting looks for the *longest* sequence of digits
by Josh Triplett
· 1 year, 11 months ago
127e052
Make an implementation note on version-sorting accurate
by Josh Triplett
· 1 year, 11 months ago
98d3012
Use version-sorting for all sorting
by Josh Triplett
· 1 year, 11 months ago
69f38f6
style-guide: Add guidance for defining formatting for specific macros
by Josh Triplett
· 1 year, 11 months ago
f707b9c
Describe how to format trailing where clauses
by Michael Goulet
· 1 year, 11 months ago
85254c9
bugfix: reflect how rustfmt formats type aliases
by Michael Goulet
· 1 year, 11 months ago
42fa7df
style-guide: Expand documentation on `as` casts (mostly like a binary operator)
by Josh Triplett
· 2 years ago
2fac397
Rollup merge of #114262 - ShapelessCat:fix-style-guide-md, r=joshtriplett
by Matthias Krüger
· 2 years ago
0242643
Rollup merge of #113394 - joshtriplett:style-edition-snapshot, r=calebcartwright
by Matthias Krüger
· 2 years ago
6a0886c
Link to the Rust edition guide for more information about editions
by Josh Triplett
· 2 years ago
0217565
style-guide: Document style editions, start 2024 style edition
by Josh Triplett
· 2 years ago
9d38e98
Use - instead of * for unordered list
by Lan, Jian
· 2 years ago
b4b540c
Improve the rust style guide doc
by Lan, Jian
· 2 years ago
45b2559
docs(style-guide): don't flatten match arms with macro call
by Caleb Cartwright
· 2 years ago
9ea1180
Simplify wording in guide for unbraced closures
by Josh Triplett
· 2 years ago
9362ae1
Clarify guide for unbraced closures, regarding comments
by Josh Triplett
· 2 years ago
9539af8
Clarify guide for unbraced closures: grammatical consistency
by Josh Triplett
· 2 years ago
2fc1de3
Clarify conditions for single-line blocks
by Josh Triplett
· 2 years ago
7577e78
Use roman 4 letter instead of word
by Ivan Tham
· 2 years ago
9346519
Add missing code fence
by cherryblossom000
· 2 years ago
77d09cb
Clarify wording on breaking arrays across lines
by Josh Triplett
· 2 years ago
144e8a3
style-guide: Fix example to match the rule it exemplifies (and match rustfmt)
by Josh Triplett
· 2 years ago
69d29a7
style-guide: Fix typo: s/right-hand side/left-hand side/
by Josh Triplett
· 2 years ago
9ccc104
style-guide: Add an additional chaining example
by Josh Triplett
· 2 years ago
ce5aca9
style-guide: Avoid using "should" or "may" for required parts of the default style
by Josh Triplett
· 2 years ago
081e15a
style-guide: Simplify the structure of a recommendation (no semantic change)
by Josh Triplett
· 2 years ago
615b58b
style-guide: Fix an example to match the style
by Josh Triplett
· 2 years ago
cf4b20d
style-guide: Fix typo: s/forth/fourth/g
by Josh Triplett
· 2 years ago
715efa4
style-guide: Remove material about tool configurability
by Josh Triplett
· 2 years ago
3ce5f6e
Correct `the` -> `there` typo in items.md
by Alyssa Haroldsen
· 2 years ago
3518041
Rollup merge of #113385 - joshtriplett:style-guide-cleanup-chains, r=calebcartwright
by Jubilee
· 2 years ago
87f978d
Rollup merge of #113386 - joshtriplett:style-guide-combinable-expressions, r=compiler-errors
by Matthias Krüger
· 2 years ago
c668eb0
Rollup merge of #113384 - joshtriplett:style-guide-grammar, r=compiler-errors
by fee1-dead
· 2 years ago
baba904
Rollup merge of #113145 - joshtriplett:style-guide-document-assignment-newlines, r=joshtriplett
by fee1-dead
· 2 years ago
ddd5fd1
style-guide: Expand example of combinable expressions to include arrays
by Josh Triplett
· 2 years ago
24534cf
style-guide: Fix chain example to match rustfmt behavior
by Josh Triplett
· 2 years ago
79df44b
style-guide: Rename "smallntp" non-terminal to "small_no_tuple" for clarity
by Josh Triplett
· 2 years ago
cde67f6
style-guide: Clarify grammar for small patterns (not a semantic change)
by Josh Triplett
· 2 years ago
5957f02
style-guide: Add chapter for nightly formatting
by Josh Triplett
· 2 years ago
5a6c618
Clarify that style guide does not cover nightly-only features
by Michael Goulet
· 2 years ago
08a997e
style-guide: Add section on bugs, and resolving bugs
by Josh Triplett
· 2 years ago
7a7ffce
Rollup merge of #113143 - joshtriplett:style-guide-narrow-dereference-guidance, r=calebcartwright
by Matthias Krüger
· 2 years, 1 month ago
c0e37ad
Rollup merge of #113140 - joshtriplett:style-guide-example-multi-line-attribute, r=calebcartwright
by Matthias Krüger
· 2 years, 1 month ago
03e64f4
style-guide: Document newline rules for assignment operators
by Josh Triplett
· 2 years, 1 month ago
025dd3a
style-guide: Narrow guidance about references and dereferencing
by Josh Triplett
· 2 years, 1 month ago
4cc8065
style-guide: Add an example of formatting a multi-line attribute
by Josh Triplett
· 2 years, 1 month ago
5abeb80
syle-guide: Clarify let-else further
by Josh Triplett
· 2 years, 1 month ago
6d3d775
Rollup merge of #112912 - joshtriplett:style-let-else-clarifications, r=calebcartwright
by Guillaume Gomez
· 2 years, 1 month ago
8d6b02f
Rollup merge of #112944 - joshtriplett:style-guide-defaults-vs-configurability, r=compiler-errors
by Matthias Krüger
· 2 years, 1 month ago
441e59a
Rollup merge of #112942 - joshtriplett:style-guide-tweaks, r=compiler-errors
by Matthias Krüger
· 2 years, 1 month ago
2748efa
style-guide: Add language disclaiming any effects on non-default Rust styles
by Josh Triplett
· 2 years, 1 month ago
fcc23a3
style-guide: Avoid referring to the style team in the past tense
by Josh Triplett
· 2 years, 1 month ago
f972e09
style-guide: Define what an item is
by Josh Triplett
· 2 years, 1 month ago
5d63721
style-guide: Make link text in SUMMARY.md match the headings in the linked pages
by Josh Triplett
· 2 years, 1 month ago
a9d1db3
style-guide: Avoid hyphenating "semicolon"
by Josh Triplett
· 2 years, 1 month ago
3e2449c
style-guide: Rephrase a confusingly ordered, ambiguous sentence (and fix a typo)
by Josh Triplett
· 2 years, 1 month ago
c930b21
style-guide: Reword an awkwardly phrased recommendation (and fix a typo)
by Josh Triplett
· 2 years, 1 month ago
fec28b2
style-guide: Clarify advice on names matching keywords
by Josh Triplett
· 2 years, 1 month ago
6f8f83f
style-guide: Avoid normative recommendations for formatting tool configurability
by Josh Triplett
· 2 years, 1 month ago
20f2828
style-guide: Update cargo.md for authors being optional and not recommended
by Josh Triplett
· 2 years, 1 month ago
c5f8b2c
style-guide: Define (and capitalize) "ASCIIbetically"
by Josh Triplett
· 2 years, 1 month ago
d270af3
style-guide: Remove inaccurate statement about rustfmt
by Josh Triplett
· 2 years, 1 month ago
4c5bb06
style-guide: Consistently refer to rustfmt as `rustfmt`
by Josh Triplett
· 2 years, 1 month ago
2c0dd90
style-guide: s/right-ward/rightward/
by Josh Triplett
· 2 years, 1 month ago
9280567
style-guide: Move and expand text about trailing commas
by Josh Triplett
· 2 years, 1 month ago
3747d7f
style-guide: Move text about block vs visual indent to indentation section
by Josh Triplett
· 2 years, 1 month ago
9637d44
style-guide: Fix typo
by Josh Triplett
· 2 years, 1 month ago
b551730
style-guide: Rewrite let-else section for clarity, without changing formatting
by Josh Triplett
· 2 years, 1 month ago
0776a4b
docs(style): add more let-else examples
by Caleb Cartwright
· 2 years, 3 months ago
b1da6a7
Spelling src/doc
by Josh Soref
· 2 years, 3 months ago
Next »