diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-04-30 18:34:43 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-04-30 18:34:43 +0200 |
| commit | 636f7d23647a77463a07ca9619307b17f0750a14 (patch) | |
| tree | ca544f17603c6b8b1119d81e434ef9c3db423cad /src/rustllvm/RustWrapper.cpp | |
| parent | f79571f51355826308573f713357eb9e33be665a (diff) | |
| download | rust-636f7d23647a77463a07ca9619307b17f0750a14.tar.gz rust-636f7d23647a77463a07ca9619307b17f0750a14.zip | |
Suggested revisions to PR 13676.
Most important: distinguish function decl sugar for omitting `-> ()` from type inference on closures. I also tried to add a couple more examples to further emphasize this distinction. Note that this sugar (of omitting `-> ()`) is actually already briefly mentioned in an earlier section, so it is a little tricky deciding whether to put more material here, or to move it up to the previous section. Other drive-by fixes: * Fix the line length of the code blocks to fit in the width provided in the rendered HTML * Some minor revisions to wording (e.g. try to clarify in some cases where a type mismatch is arising).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
