Skip to content

Commit

Permalink
Add --all-features to clippy invocation'.
Browse files Browse the repository at this point in the history
`h1-client-rustls` is preferred when `h1-client` is also enabled.
  • Loading branch information
misuzu committed Jan 13, 2022
1 parent 876912d commit 83b10e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
components: rustfmt, clippy, rust-docs

- name: clippy
run: cargo clippy --benches --bins --examples --tests -- -D warnings
run: cargo clippy --all-features --benches --bins --examples --tests -- -D warnings

- name: fmt
run: cargo fmt --all -- --check
Expand Down
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ impl Config {
}
/// Set TLS Configuration (Native TLS)
#[cfg_attr(feature = "docs", doc(cfg(feature = "h1-client")))]
#[cfg(feature = "h1-client")]
#[cfg(all(feature = "h1-client", not(feature = "h1-client-rustls")))]
pub fn set_tls_config(
mut self,
tls_config: Option<std::sync::Arc<async_native_tls::TlsConnector>>,
Expand Down

0 comments on commit 83b10e8

Please sign in to comment.