Skip to content

Commit 349594e

Browse files
committed
Fix long lines in stupid stats appendix
1 parent 08fbf89 commit 349594e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/appendix-stupid-stats.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ and a bunch of other crates with the 'librustc_' prefix.
7373

7474
Next is translation, this translates the AST (and all those side tables) into
7575
LLVM IR (intermediate representation). We do this by calling into the LLVM
76-
libraries, rather than actually writing IR directly to a file. The code for this is in
77-
[librustc_trans](https://github.com/rust-lang/rust/tree/master/src/librustc_trans).
76+
libraries, rather than actually writing IR directly to a file. The code for
77+
this is in [librustc_trans](https://github.com/rust-lang/rust/tree/master/src/librustc_trans).
7878

7979
The next phase is running the LLVM backend. This runs LLVM's optimisation passes
8080
on the generated IR and then generates machine code. The result is object files.
@@ -117,8 +117,8 @@ I'll summarise the methods here.
117117
`early_callback` and `late_callback` let you call arbitrary code at different
118118
points - early is after command line arguments have been parsed, but before
119119
anything is done with them; late is pretty much the last thing before
120-
compilation starts, i.e., after all processing of command line arguments, etc. is
121-
done. Currently, you get to choose whether compilation stops or continues at
120+
compilation starts, i.e., after all processing of command line arguments, etc.
121+
is done. Currently, you get to choose whether compilation stops or continues at
122122
each point, but you don't get to change anything the driver has done. You can
123123
record some info for later, or perform other actions of your own.
124124

@@ -402,4 +402,4 @@ analysis, rather than doing its own analysis). Other parts of the compiler
402402
internally (I already changed save-analysis to use `CompilerController`). I've
403403
been experimenting with a prototype rustfmt which also uses these APIs.
404404

405-
[stupid-stats]: https://github.com/nrc/stupid-stats
405+
[stupid-stats]: https://github.com/nrc/stupid-stats

0 commit comments

Comments
 (0)