mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
fix enum name
This commit is contained in:
parent
017a63b4e5
commit
cbaa4c0e81
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ impl Connection {
|
|||
certificate: Option<TlsCertificate>,
|
||||
) -> Result<Self, Error> {
|
||||
if socket_connection.is_closed() {
|
||||
return Err(Error::Closed);
|
||||
return Err(Error::SocketConnectionClosed);
|
||||
}
|
||||
|
||||
Ok(Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue