about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-07-06 19:13:05 -0400
committerGitHub <noreply@github.com>2016-07-06 19:13:05 -0400
commit155f0ec5c9ec09daccbf5a00f5707964922c3141 (patch)
tree0ea9661f2b78d46b3a3aca81c69122c09b69de3b /src/rustllvm/RustWrapper.cpp
parent34c9cddc89573131d9691309cb2425d7db1ddc6e (diff)
parent74e96299a22ef1629d7ea8268815fc2b82c7e194 (diff)
downloadrust-155f0ec5c9ec09daccbf5a00f5707964922c3141.tar.gz
rust-155f0ec5c9ec09daccbf5a00f5707964922c3141.zip
Rollup merge of #33250 - durka:patch-19, r=steveklabnik
update documentation of tuple/unit structs

I made the "tuple structs are useless" editorializing a bit weaker and moved it to the end. Feel free to overrule me on that.

I also added an example of how to unpack a tuple struct with dot notation, because it came up on IRC.

`braced_empty_structs` is stable now, so I updated the example for unit-like structs to use that syntax. Should we show both ways?

cc @ubsan
r? @steveklabnik or @GuillaumeGomez
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions