Skip to content

Commit

Permalink
fix: Add missing re-export for TransportErrorCode
Browse files Browse the repository at this point in the history
This is in the public interface, as a field of `Close::Transport`. Sadly
this isn't detected by the `unreachable_pub` lint.
  • Loading branch information
Chris Connelly authored and connec committed Aug 27, 2021
1 parent 8a721e2 commit 8cf4f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pub use config::Config;
pub use connection_pool::ConnId;
pub use connections::{DisconnectionEvents, RecvStream, SendStream};
pub use endpoint::{Endpoint, IncomingConnections, IncomingMessages};
pub use error::{Close, ConnectionError, Error, Result};
pub use error::{Close, ConnectionError, Error, Result, TransportErrorCode};

#[cfg(test)]
mod tests;

0 comments on commit 8cf4f88

Please sign in to comment.