From 72e723187ca3596b67bcd3786457234ed40c75d2 Mon Sep 17 00:00:00 2001 From: occupyhabit Date: Tue, 3 Dec 2024 11:14:47 +0800 Subject: [PATCH] chore: remove redundant words in comment Signed-off-by: occupyhabit --- docs/cli/general.md | 4 ++-- window/src/os/wayland/data_device.rs | 2 +- window/src/os/windows/window.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/cli/general.md b/docs/cli/general.md index e7f4186c7..c565a0ed5 100644 --- a/docs/cli/general.md +++ b/docs/cli/general.md @@ -11,9 +11,9 @@ wezterm is deployed with two major executables: * `wezterm-gui` (or `wezterm-gui.exe` on Windows) - for spawning wezterm from a desktop environment You will typically use `wezterm` when scripting wezterm; it knows when to -delegate to to `wezterm-gui` under the covers. +delegate to `wezterm-gui` under the covers. -If you are are setting up a launcher for wezterm to run in the Windows GUI +If you are setting up a launcher for wezterm to run in the Windows GUI environment then you will want to explicitly target `wezterm-gui` so that Windows itself doesn't pop up a console host for its logging output. diff --git a/window/src/os/wayland/data_device.rs b/window/src/os/wayland/data_device.rs index caa285be5..338280e02 100644 --- a/window/src/os/wayland/data_device.rs +++ b/window/src/os/wayland/data_device.rs @@ -165,7 +165,7 @@ impl DataOfferHandler for WaylandState { } } -// We seem to to ignore all events other than sending_request and cancelled +// We seem to ignore all events other than sending_request and cancelled impl DataSourceHandler for WaylandState { fn accept_mime( &mut self, diff --git a/window/src/os/windows/window.rs b/window/src/os/windows/window.rs index 21dfa522d..7997c9f44 100644 --- a/window/src/os/windows/window.rs +++ b/window/src/os/windows/window.rs @@ -2565,7 +2565,7 @@ unsafe fn key(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option