Rename mio.connection.shoud_close (typo in function name)

Merge pull request #501 from PD3P/mio-connection-typo
This commit is contained in:
Karolin Varner
2024-11-28 20:58:07 +01:00
committed by GitHub

View File

@@ -88,7 +88,7 @@ impl MioConnection {
})
}
pub fn shoud_close(&self) -> bool {
pub fn should_close(&self) -> bool {
let exhausted = self
.buffers
.as_ref()
@@ -262,7 +262,7 @@ pub trait MioConnectionContext {
}
fn should_close(&self) -> bool {
self.mio_connection().shoud_close()
self.mio_connection().should_close()
}
}