mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-02 18:15:37 +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>,
|
certificate: Option<TlsCertificate>,
|
||||||
) -> Result<Self, Error> {
|
) -> Result<Self, Error> {
|
||||||
if socket_connection.is_closed() {
|
if socket_connection.is_closed() {
|
||||||
return Err(Error::Closed);
|
return Err(Error::SocketConnectionClosed);
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(Self {
|
Ok(Self {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue