Skip to content

Commit

Permalink
chore(tonic): Fix doc test with only default features (#1462)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Aug 14, 2023
1 parent 69a2aa0 commit 35cf1f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tonic/src/transport/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
//! ## Client
//!
//! ```no_run
//! # #[cfg(feature = "rustls")]
//! # use tonic::transport::{Channel, Certificate, ClientTlsConfig};
//! # use std::time::Duration;
//! # use tonic::body::BoxBody;
Expand Down Expand Up @@ -45,6 +46,7 @@
//! ## Server
//!
//! ```no_run
//! # #[cfg(feature = "rustls")]
//! # use tonic::transport::{Server, Identity, ServerTlsConfig};
//! # use tower::Service;
//! # #[cfg(feature = "rustls")]
Expand Down

0 comments on commit 35cf1f2

Please sign in to comment.