From 186d6585e7fbd016bf50495b25d107c050df598d Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Thu, 9 Jun 2022 21:00:18 +0800 Subject: [PATCH] Fix typos --- src/prompts/input.rs | 2 +- src/theme.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/prompts/input.rs b/src/prompts/input.rs index 3c85469b..982bc499 100644 --- a/src/prompts/input.rs +++ b/src/prompts/input.rs @@ -107,7 +107,7 @@ impl Input<'_, T> { /// The default behaviour is to append [`default`](#method.default) to the prompt to tell the /// user what is the default value. /// - /// This method does not affect existance of default value, only its display in the prompt! + /// This method does not affect existence of default value, only its display in the prompt! pub fn show_default(&mut self, val: bool) -> &mut Self { self.show_default = val; self diff --git a/src/theme.rs b/src/theme.rs index a62140d9..6f3404d7 100644 --- a/src/theme.rs +++ b/src/theme.rs @@ -707,7 +707,7 @@ impl Theme for ColorfulTheme { } } -/// Helper struct to conveniently render a theme ot a term. +/// Helper struct to conveniently render a theme of a term. pub(crate) struct TermThemeRenderer<'a> { term: &'a Term, theme: &'a dyn Theme,