swarm/behaviour: make either mod private (#2610)

With no public items, having this module public serves no purpose.
This commit is contained in:
Elena Frank 2022-04-08 01:06:06 +02:00 committed by GitHub
parent f5b982a13b
commit 102509afe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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;