Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
2d47816
rustc_llvm: Add a `-Z print-llvm-stats` option to expose LLVM statist…
pcwalton Nov 5, 2022
138f522
Don't enable by default :)
pcwalton Nov 5, 2022
4d307c4
print on rustc_codegen_llvm and rename malloc and cpy c_char
khei4 Jul 16, 2023
b1398ca
Make {Rc,Arc}::allocator associated functions
glandium Jul 18, 2023
c7bf20d
address feedback from nikic and oli-obk https://github.com/rust-lang/…
khei4 Jul 19, 2023
11dcd1d
Add test of --print KIND=PATH
dtolnay Apr 25, 2023
c0dc0c6
Store individual output file name with every PrintRequest
dtolnay Jul 17, 2023
f72bdb1
Parse --print KIND=PATH command line syntax
dtolnay Jul 17, 2023
32cac2e
Disallow overlapping prints to the same location
dtolnay Jul 17, 2023
f2e3d3f
Move OutFileName writing into rustc_session
dtolnay Jul 17, 2023
5a60660
Implement printing to file in print_crate_info
dtolnay Jul 17, 2023
c80cbe4
Implement printing to file in codegen_backend.print
dtolnay Jul 17, 2023
6e734fc
Implement printing to file in llvm_util
dtolnay Jul 13, 2023
815a114
Implement printing to file in PassWrapper
dtolnay Jul 13, 2023
dcfe94a
Implement printing to file for link-args and native-static-libs
dtolnay Jul 17, 2023
7ee059b
Add ui test of LLVM print-from-C++ changes
dtolnay Jul 14, 2023
5ca0946
Document --print KIND=PATH in Command-line Arguments documentation
dtolnay Jul 17, 2023
26fd6b1
Add note about writing native-static-libs to file
dtolnay Jul 19, 2023
11ae0af
Create separate match arms for FileNames and CrateNames
dtolnay Jul 19, 2023
40e1164
Minor improvements to Windows TLS dtors
ChrisDenton Jul 20, 2023
715efa4
style-guide: Remove material about tool configurability
joshtriplett Jun 28, 2023
cf4b20d
style-guide: Fix typo: s/forth/fourth/g
joshtriplett Jun 29, 2023
615b58b
style-guide: Fix an example to match the style
joshtriplett Jul 3, 2023
081e15a
style-guide: Simplify the structure of a recommendation (no semantic …
joshtriplett Jul 3, 2023
ce5aca9
style-guide: Avoid using "should" or "may" for required parts of the …
joshtriplett Jun 28, 2023
9ccc104
style-guide: Add an additional chaining example
joshtriplett Jul 5, 2023
69d29a7
style-guide: Fix typo: s/right-hand side/left-hand side/
joshtriplett Jul 5, 2023
144e8a3
style-guide: Fix example to match the rule it exemplifies (and match …
joshtriplett Jul 5, 2023
77d09cb
Clarify wording on breaking arrays across lines
joshtriplett Jul 20, 2023
20ce7f1
Rollup merge of #113380 - joshtriplett:style-guide-cleanup-must-shoul…
matthiaskrgr Jul 21, 2023
2734b5a
Rollup merge of #113723 - khei4:khei4/llvm-stats, r=oli-obk,nikic
matthiaskrgr Jul 21, 2023
b1d1e99
Rollup merge of #113780 - dtolnay:printkindpath, r=b-naber
matthiaskrgr Jul 21, 2023
5ac3684
Rollup merge of #113810 - glandium:allocator-fn, r=Amanieu
matthiaskrgr Jul 21, 2023
8c6ef1d
Rollup merge of #113907 - ChrisDenton:tls, r=thomcc
matthiaskrgr Jul 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style-guide: Fix typo: s/right-hand side/left-hand side/
  • Loading branch information
joshtriplett committed Jul 21, 2023
commit 69d29a70daa5e8df79d2016af681b13c82f561df
2 changes: 1 addition & 1 deletion src/doc/style-guide/src/expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ match foo {
```

If the body is a single expression with no line comments and not a control flow
expression, start it on the same line as the right-hand side. If not, then it
expression, start it on the same line as the left-hand side. If not, then it
must be in a block. Example:

```rust
Expand Down