diff --git a/src/termio/escape.rs b/src/termio/escape.rs index e19e35f..839a38b 100644 --- a/src/termio/escape.rs +++ b/src/termio/escape.rs @@ -921,8 +921,8 @@ const fn transition(state: State, byte: u8) -> (State, Action) { /// if scanner.processed() == 0 && action != Action::Start { /// return Err(ErrorKind::InvalidData.into()); /// } else if scanner.did_finish() { -/// input.consume(self.processed()); -/// break 'colorful self.finished_str()?; +/// input.consume(scanner.processed()); +/// break 'colorful scanner.finished_str()?; /// } /// } /// input.consume(filled);