Skip to content

Commit e679f3b

Browse files
authored
Allow unused_braces in cargo doc test
Workaround for rust-lang/rust#70814
1 parent 3fc9310 commit e679f3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ matrix:
145145
- name: cargo doc
146146
rust: nightly
147147
script:
148-
- RUSTDOCFLAGS=-Dwarnings cargo doc --workspace --no-deps --all-features
148+
# TODO: Remove -Aunused_braces once https://github.com/rust-lang/rust/issues/70814 is fixed
149+
- RUSTDOCFLAGS="-Dwarnings -Aunused_braces" cargo doc --workspace --no-deps --all-features
149150

150151
script:
151152
- cargo test --workspace --all-features

0 commit comments

Comments
 (0)