Skip to content

Commit 102509a

Browse files
authored
swarm/behaviour: make either mod private (#2610)
With no public items, having this module public serves no purpose.
1 parent f5b982a commit 102509a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

swarm/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
- Update to `libp2p-core` `v0.33.0`.
66

7+
- Make `behaviour::either` module private. See [PR 2610]
8+
79
[PR 2529]: https://github.com/libp2p/rust-libp2p/pull/2529
10+
[PR 2610]: https://github.com/libp2p/rust-libp2p/pull/2610/
811

912
# 0.35.0
1013

swarm/src/behaviour.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1919
// DEALINGS IN THE SOFTWARE.
2020

21-
pub mod either;
21+
mod either;
2222
pub mod toggle;
2323

2424
use crate::dial_opts::DialOpts;

0 commit comments

Comments
 (0)