mirror of
https://github.com/rosenpass/rosenpass.git
synced 2025-12-12 15:49:22 -08:00
chore(API): Rename mio.connection.shoud_close
Technically a breaking change... Hopefully that's not a problem here?
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user