diff options
| author | bors <bors@rust-lang.org> | 2014-12-07 07:12:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-12-07 07:12:16 +0000 |
| commit | 1e835cc7e3828fb21dfa59c4974d535108c4b024 (patch) | |
| tree | 14df984e22f9bd45fa57d2069c5406a7fb824dca /src/test/compile-fail/trailing-comma-array-repeat.rs | |
| parent | f7d18b92f80e52462a5c086bb47252817e6b1b3d (diff) | |
| parent | 451cc7e5c07ec50ff35b9447999cb3e990cef340 (diff) | |
| download | rust-1e835cc7e3828fb21dfa59c4974d535108c4b024.tar.gz rust-1e835cc7e3828fb21dfa59c4974d535108c4b024.zip | |
auto merge of #19488 : jbranchaud/rust/add-btree-set-doctests, r=alexcrichton
There is already a test for `union` in the test namespace, but this commit adds a doctest that will appear in the rustdocs. Someone on IRC said, *Write doctests!*, so here I am. I am not sure this is the best way to demonstrate the behavior of the union function, so I am open to suggestions for improving this. If I am on the right track I'd be glad to include similar doctests for `intersection`, `difference`, etc.
Diffstat (limited to 'src/test/compile-fail/trailing-comma-array-repeat.rs')
0 files changed, 0 insertions, 0 deletions
