Skip to content

Commit

Permalink
swarm/behaviour: make either mod private (#2610)
Browse files Browse the repository at this point in the history
With no public items, having this module public serves no purpose.
  • Loading branch information
elenaf9 authored Apr 7, 2022
1 parent f5b982a commit 102509a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions swarm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion swarm/src/behaviour.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 102509a

Please sign in to comment.