We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3f038c commit ca60b74Copy full SHA for ca60b74
src/libstd/bitflags.rs
@@ -235,10 +235,18 @@ mod tests {
235
use ops::{BitOr, BitAnd, Sub, Not};
236
237
bitflags!(
238
+ #[doc = "> The first principle is that you must not fool yourself — and"]
239
+ #[doc = "> you are the easiest person to fool."]
240
+ #[doc = "> "]
241
+ #[doc = "> - Richard Feynman"]
242
flags Flags: u32 {
243
static FlagA = 0x00000001,
244
+ #[doc = "<pcwalton> macros are way better at generating code than trans is"]
245
static FlagB = 0x00000010,
246
static FlagC = 0x00000100,
247
+ #[doc = "* cmr bed"]
248
+ #[doc = "* strcat table"]
249
+ #[doc = "<strcat> wait what?"]
250
static FlagABC = FlagA.bits
251
| FlagB.bits
252
| FlagC.bits,
0 commit comments