Skip to content

Commit b61a59e

Browse files
committed
doctest: Put #[bitflags] above #[derive]
This is necessary on 1.56.
1 parent f64da4b commit b61a59e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,8 +659,8 @@ where
659659
///
660660
/// ```
661661
/// # use enumflags2::bitflags;
662-
/// #[derive(Clone, Copy, PartialEq, Debug)]
663662
/// #[bitflags]
663+
/// #[derive(Clone, Copy, PartialEq, Debug)]
664664
/// #[repr(u8)]
665665
/// enum MyFlag {
666666
/// A = 1 << 0,

0 commit comments

Comments
 (0)