From af13258e5e19d70f2f7b2d734b35d84a70c6500c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Sun, 28 Jul 2024 08:45:49 +0300 Subject: [PATCH] refactor: Fix documentation lints --- src/app/style.rs | 1 + src/term/event.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/style.rs b/src/app/style.rs index a839dbd..fed3479 100644 --- a/src/app/style.rs +++ b/src/app/style.rs @@ -193,6 +193,7 @@ pub fn get_colored_table_row<'a>( /// /// It adds colors to: /// * parts separated by ':' character. (e.g. `version: 2`) +/// /// Skips the lines that starts with ' '. pub fn get_colored_info(info: &str, color: Color) -> Text<'_> { Text::from( diff --git a/src/term/event.rs b/src/term/event.rs index 47bf3e3..b8ca874 100644 --- a/src/term/event.rs +++ b/src/term/event.rs @@ -98,7 +98,7 @@ impl EventHandler { /// Receive the next event from handler. /// /// > This function will always block the current thread if - /// there is no data available and it's possible for more data to be sent. + /// > there is no data available and it's possible for more data to be sent. /// /// (Note that [`Tick`] event is frequently received depending on the tick rate.) ///