From fdbbb76d90572c641023842f3ea2b3c5d29b7cc1 Mon Sep 17 00:00:00 2001 From: Robert Grimm Date: Wed, 23 Oct 2024 14:34:42 -0400 Subject: [PATCH] fix documentation test --- src/termio/escape.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);