chore(API): Rename mio.connection.shoud_close

Technically a breaking change... Hopefully that's not a problem here?
This commit is contained in:
Philipp Dresselmann
2024-11-22 09:28:40 +01:00
parent 0cea8c5eff
commit f3399907b9

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()
}
}