about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorjbranchaud <jbranchaud@gmail.com>2014-12-02 22:59:24 -0600
committerjbranchaud <jbranchaud@gmail.com>2014-12-05 17:00:24 -0600
commit451cc7e5c07ec50ff35b9447999cb3e990cef340 (patch)
treec3fc4671c8e9d67dbb61572c2311b6e0f29fbfff /src/libstd/sys/unix/stack_overflow.rs
parent3a325c666d2cb7e297bf3057ff2442f96a79428b (diff)
downloadrust-451cc7e5c07ec50ff35b9447999cb3e990cef340.tar.gz
rust-451cc7e5c07ec50ff35b9447999cb3e990cef340.zip
Add doctests for union, diff, sym_diff, and intersection.
Add a rustdoc test for union to exhibit how it is used.

There is already a test for union in the test namespace, but this commit
adds a doctest that will appear in the rustdocs.

Add a doctest for the difference function.

Add a doctest for the symmetric_difference function.

Add a doctest for the intersection function.

Update the union et al. doctests based on @Gankro's comments.

Make the union et al. doctests a bit more readable.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions