Fix build on rust 1.73

This commit is contained in:
Igor Katson 2023-12-05 20:08:37 +00:00
parent 9481ffcb32
commit 215bccb89c
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
3 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ pub struct PeerConnectionOptions {
pub keep_alive_interval: Option<Duration>,
}
pub struct PeerConnection<H> {
pub(crate) struct PeerConnection<H> {
handler: H,
addr: SocketAddr,
info_hash: Id20,