diff --git a/examples/version.rs b/examples/version.rs index a52a118..845fb34 100644 --- a/examples/version.rs +++ b/examples/version.rs @@ -3,5 +3,5 @@ // that can be found in the LICENSE file. fn main() { - println!("{}", env!("CARGO_PKG_VERSION")); + println!("{}", env!("CARGO_PKG_VERSION")); } diff --git a/src/app.rs b/src/app.rs index 4de670b..f6023c2 100644 --- a/src/app.rs +++ b/src/app.rs @@ -670,7 +670,7 @@ impl<'a> App<'a> { } // Common input key - // h ... toggel help window. + // h ... toggle help window. Event::Key(KeyEvent { code: KeyCode::Char('h'), modifiers: KeyModifiers::NONE, @@ -714,7 +714,7 @@ impl<'a> App<'a> { modifiers: KeyModifiers::NONE, }) => self.input_key_down(), - // h ... toggel help window. + // h ... toggle help window. Event::Key(KeyEvent { code: KeyCode::Char('h'), modifiers: KeyModifiers::NONE, @@ -803,8 +803,8 @@ impl<'a> App<'a> { // Not currently used. /// //fn get_input_mouse_event(&mut self, mouse_event: &MouseEvent) { - // let mouse_event_tupple = (mouse_event.kind, mouse_event.modifiers); - // if let (MouseEventKind::Down(MouseButton::Left), KeyModifiers::NONE) = mouse_event_tupple { + // let mouse_event_tuple = (mouse_event.kind, mouse_event.modifiers); + // if let (MouseEventKind::Down(MouseButton::Left), KeyModifiers::NONE) = mouse_event_tuple { // self.mouse_click_left(mouse_event.column, mouse_event.row); // } //} diff --git a/src/help.rs b/src/help.rs index 47107c3..9fe35a9 100644 --- a/src/help.rs +++ b/src/help.rs @@ -88,7 +88,7 @@ fn gen_help_text<'a>() -> Vec> { Spans::from(" - [F3] key ... change output mode as output(stdout/stderr set.)"), // change use area Spans::from(" - [Tab] key ... toggle current area at history or watch."), - // filter text inpu + // filter text input Spans::from(" - [/] key ... filter history by string."), Spans::from(" - [*] key ... filter history by regex."), Spans::from(" - [ESC] key ... unfiltering."), diff --git a/src/main.rs b/src/main.rs index 6ef4acb..d9a90e7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -125,7 +125,7 @@ fn build_app() -> clap::Command<'static> { // [-b,--batch] // .arg( // Arg::with_name("batch") - // .help("output exection results to stdout") + // .help("output execution results to stdout") // .short('b') // .long("batch"), // ) diff --git a/src/output.rs b/src/output.rs index 825d5b6..cc77f2e 100644 --- a/src/output.rs +++ b/src/output.rs @@ -677,7 +677,7 @@ fn get_word_diff_addline<'a>( match before_diffs { // Change Line. &Difference::Rem(ref before_diff_data) => { - // Craete Changeset at `Addlind` and `Before Diff Data`. + // Create Changeset at `Addlind` and `Before Diff Data`. let Changeset { diffs, .. } = Changeset::new(before_diff_data, &diff_data, " "); // @@ -777,7 +777,7 @@ fn get_word_diff_remline<'a>( match after_diffs { // Change Line. &Difference::Add(ref after_diffs_data) => { - // Craete Changeset at `Addlind` and `Before Diff Data`. + // Create Changeset at `Addlind` and `Before Diff Data`. let Changeset { diffs, .. } = Changeset::new(&diff_data, after_diffs_data, " "); //