Skip to content

Commit

Permalink
Allow unused_braces in cargo doc test
Browse files Browse the repository at this point in the history
Workaround for rust-lang/rust#70814
  • Loading branch information
Nemo157 authored Apr 15, 2020
1 parent 3fc9310 commit e679f3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ matrix:
- name: cargo doc
rust: nightly
script:
- RUSTDOCFLAGS=-Dwarnings cargo doc --workspace --no-deps --all-features
# TODO: Remove -Aunused_braces once https://github.com/rust-lang/rust/issues/70814 is fixed
- RUSTDOCFLAGS="-Dwarnings -Aunused_braces" cargo doc --workspace --no-deps --all-features

script:
- cargo test --workspace --all-features
Expand Down

0 comments on commit e679f3b

Please sign in to comment.