diff --git a/swarm/CHANGELOG.md b/swarm/CHANGELOG.md index a334f46c6fa..8573803b5e6 100644 --- a/swarm/CHANGELOG.md +++ b/swarm/CHANGELOG.md @@ -4,7 +4,10 @@ - Update to `libp2p-core` `v0.33.0`. +- Make `behaviour::either` module private. See [PR 2610] + [PR 2529]: https://github.com/libp2p/rust-libp2p/pull/2529 +[PR 2610]: https://github.com/libp2p/rust-libp2p/pull/2610/ # 0.35.0 diff --git a/swarm/src/behaviour.rs b/swarm/src/behaviour.rs index 65d6817c785..5997064e1bd 100644 --- a/swarm/src/behaviour.rs +++ b/swarm/src/behaviour.rs @@ -18,7 +18,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -pub mod either; +mod either; pub mod toggle; use crate::dial_opts::DialOpts;