diff --git a/src/class.rs b/src/class.rs index 5056049..1614057 100644 --- a/src/class.rs +++ b/src/class.rs @@ -66,7 +66,7 @@ where } pub fn did_start_processing(&mut self) -> Status { - if self.pipe.did_started_processing() { + if self.pipe.did_start_processing() { // We should send a wait extension later Status::ReceivedData(1_000.milliseconds()) } else { diff --git a/src/pipe.rs b/src/pipe.rs index 0f66119..c1de7d2 100644 --- a/src/pipe.rs +++ b/src/pipe.rs @@ -323,7 +323,7 @@ where } /// Turns false on read. Intended for checking to see if a wait extension request needs to be started. - pub fn did_started_processing(&mut self) -> bool { + pub fn did_start_processing(&mut self) -> bool { if self.started_processing { self.started_processing = false; true