]> git.lizzy.rs Git - rust.git/commit
Update docstring for bitflags macro to cover all generated methods
authorNicholas Bishop <nicholasbishop@gmail.com>
Sun, 28 Dec 2014 01:13:32 +0000 (20:13 -0500)
committerNicholas Bishop <nicholasbishop@gmail.com>
Sun, 28 Dec 2014 01:13:32 +0000 (20:13 -0500)
commitad39c0a8a19af23faa8c4f36daf33a0c02c3e0b9
tree970e87619dfff0eea7745457f30504147d97e52c
parent070ab63807dc80fa6a6c5ee80531284761ab42de
Update docstring for bitflags macro to cover all generated methods

The methods `from_bits` and `from_bits_truncate` were missing from the
list of generated methods. Didn't see a useful way to abbreviate, so
added with the same docstrings used in the macro definition.
src/libstd/bitflags.rs