Skip to content

Commit

Permalink
Lint against unreachable_pub
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Aug 14, 2023
1 parent fe42b8f commit 95dd301
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use tokio_rustls::TlsConnector;

use crate::stream::MaybeHttpsStream;

pub mod builder;
pub(crate) mod builder;

type BoxError = Box<dyn std::error::Error + Send + Sync>;

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
//! # fn main() {}
//! ```
#![warn(missing_docs)]
#![warn(missing_docs, unreachable_pub)]
#![cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(feature = "acceptor")]
Expand All @@ -87,7 +87,7 @@ mod stream;

#[cfg(feature = "logging")]
mod log {
pub use log::{debug, trace};
pub(crate) use log::{debug, trace};
}

#[cfg(not(feature = "logging"))]
Expand Down

0 comments on commit 95dd301

Please sign in to comment.