diff options
| author | bors <bors@rust-lang.org> | 2014-10-08 01:02:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-10-08 01:02:10 +0000 |
| commit | 0606234880ac8318a8e247e836ac61b32c63e9f9 (patch) | |
| tree | be1bc6eb590ed017c7c8b47f749eb0bef86883b3 /src/rustllvm/RustWrapper.cpp | |
| parent | 3b945dcae6dcedd0917652d66edd8ceefb4f73c1 (diff) | |
| parent | c211d132c38f06196e76c0b5536fb2ae6af4d521 (diff) | |
| download | rust-0606234880ac8318a8e247e836ac61b32c63e9f9.tar.gz rust-0606234880ac8318a8e247e836ac61b32c63e9f9.zip | |
auto merge of #17836 : typelist/rust/guide-tuples, r=steveklabnik
Currently, the Guide says tuples "are only equivalent if the arity, types, and values are all identical", before presenting an example that uses `==` to compare two tuples whose arity and contained types match. This is misleading, because it implies that `==` can dynamically check whether two tuples have the same arity and contained types, whereas trying to do this would lead to a compiler error. I tried to avoid destroying the flow of this section, but I'm not sure if I've been successful.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
