about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Burka <durka42+github@gmail.com>2016-04-27 23:29:49 -0400
committerAlex Burka <durka42+github@gmail.com>2016-04-27 23:29:49 -0400
commit993f13a2cf125610dc6a34bf68aa6afd87a723d6 (patch)
treef3ed4ae0d4251564d3fc705ad3c794249c65be92 /src/rustllvm/RustWrapper.cpp
parentcda7c1cf2463443aee4a2f51a5141bc7ce4a4f97 (diff)
downloadrust-993f13a2cf125610dc6a34bf68aa6afd87a723d6.tar.gz
rust-993f13a2cf125610dc6a34bf68aa6afd87a723d6.zip
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 @GuillameGomez
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions