Skip to content

Commit 43320e5

Browse files
committed
Document derived traits for bitset! macro
1 parent a3d9980 commit 43320e5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/libcollections/bitflags.rs

+5
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@
7272
//! }
7373
//! ~~~
7474
//!
75+
//! # Derived traits
76+
//!
77+
//! The `Eq`, `TotalEq`, and `Clone` traits are automatically derived for the
78+
//! `struct` using the `deriving` attribute.
79+
//!
7580
//! # Operators
7681
//!
7782
//! The following operator traits are implemented for the generated `struct`:

0 commit comments

Comments
 (0)