Skip to content

Commit 0bf5281

Browse files
committed
Fix bitflags 0.9 syntax
1 parent 235cfdd commit 0bf5281

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1570,9 +1570,9 @@ extern crate bitflags;
15701570

15711571
bitflags! {
15721572
struct Flags: u32 {
1573-
const FLAG_A = 0b00000001,
1574-
const FLAG_B = 0b00000010,
1575-
const FLAG_C = 0b00000100,
1573+
const FLAG_A = 0b00000001;
1574+
const FLAG_B = 0b00000010;
1575+
const FLAG_C = 0b00000100;
15761576
}
15771577
}
15781578

0 commit comments

Comments
 (0)