Skip to content

Commit c4d6d82

Browse files
tamirdEricson2314
authored andcommitted
Use associated constants
Fixes bitflags#20. Closes bitflags#21.
1 parent 8435cfb commit c4d6d82

File tree

7 files changed

+226
-178
lines changed

7 files changed

+226
-178
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ script:
88
- cargo build --verbose
99
- cargo test --verbose
1010
- cargo test --verbose --features no_std
11-
- if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then
12-
cargo test --verbose --features assignment_operators;
13-
cargo test --verbose --features "no_std assignment_operators";
11+
- if [ "$TRAVIS_RUST_VERSION" = 'nightly' ]; then
12+
cargo test --verbose --features 'assignment_operators';
13+
cargo test --verbose --features 'no_std assignment_operators';
1414
fi
1515
- cargo doc
1616
after_success: |

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@ description = """
1212
A macro to generate structures which behave like bitflags.
1313
"""
1414

15+
[dev-dependencies]
16+
compiletest_rs = "~0.1.1"
17+
1518
[features]
1619
assignment_operators = []

0 commit comments

Comments
 (0)