rename constructor

This commit is contained in:
yggverse 2025-01-22 15:15:44 +02:00
parent 5e52e74870
commit 075b5605a0
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ impl Connection {
// Constructors
/// Create new `Self`
pub fn new(
pub fn build(
socket_connection: SocketConnection,
certificate: Option<TlsCertificate>,
server_identity: Option<NetworkAddress>,