about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-02-15 23:48:12 -0500
committerGitHub <noreply@github.com>2017-02-15 23:48:12 -0500
commitef45eca8a5208d99560f56159adbe349246d7a3c (patch)
tree58dc9a8487793dc48f708910c5aa7b59f5368653 /src/rustllvm/RustWrapper.cpp
parent4d6019d07a942f5041e3d81f974f34515b024d0a (diff)
parentb6a161833289d402986164912aeb9d005857675d (diff)
downloadrust-ef45eca8a5208d99560f56159adbe349246d7a3c.tar.gz
rust-ef45eca8a5208d99560f56159adbe349246d7a3c.zip
Rollup merge of #39775 - mina86:master, r=steveklabnik
book: don’t use GNU extensions in the example unnecessarily

The use of a GNU C extension for bloc expressions is immaterial to the
actual problem with C macros that the section tries to show so don’t
use it and instead use a plain C way of writing the macro which has
added benefit of being better C code (since the macro now behaves like
a function, syntax-wise).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions