mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
rename constructor
This commit is contained in:
parent
5e52e74870
commit
075b5605a0
2 changed files with 2 additions and 2 deletions
|
|
@ -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>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue