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,