about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2014-04-30 18:34:43 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2014-04-30 18:34:43 +0200
commit636f7d23647a77463a07ca9619307b17f0750a14 (patch)
treeca544f17603c6b8b1119d81e434ef9c3db423cad /src/rustllvm/RustWrapper.cpp
parentf79571f51355826308573f713357eb9e33be665a (diff)
downloadrust-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