From 524934531212e0d4c90db89c415c8b42cf356fcf Mon Sep 17 00:00:00 2001 From: yeahyear <138094847+yetyear@users.noreply.github.com> Date: Fri, 9 May 2025 15:33:20 +0800 Subject: [PATCH] chore: remove redundant word in comment (#30338) remove redundant word in comment Release Notes: - remove redundant word in comment Signed-off-by: yetyear --- crates/gpui/src/color.rs | 2 +- crates/zed/src/reliability.rs | 2 +- docs/src/languages/deno.md | 2 +- docs/src/themes.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/gpui/src/color.rs b/crates/gpui/src/color.rs index c40fcd2828a22486f28f8c196303fbfed1556026..016d472b5f30e15b6ccad35430314b4f8e1c9cd5 100644 --- a/crates/gpui/src/color.rs +++ b/crates/gpui/src/color.rs @@ -706,7 +706,7 @@ pub fn solid_background(color: impl Into) -> Background { /// Creates a LinearGradient background color. /// -/// The gradient line's angle of direction. A value of `0.` is equivalent to to top; increasing values rotate clockwise from there. +/// The gradient line's angle of direction. A value of `0.` is equivalent to top; increasing values rotate clockwise from there. /// /// The `angle` is in degrees value in the range 0.0 to 360.0. /// diff --git a/crates/zed/src/reliability.rs b/crates/zed/src/reliability.rs index 6688417720e48da096e648d354c758fbeded09ee..0f0e93ee7e4f8ecd32871276819ca7f5a8fc5446 100644 --- a/crates/zed/src/reliability.rs +++ b/crates/zed/src/reliability.rs @@ -291,7 +291,7 @@ pub fn monitor_main_thread_hangs( // ASYNC SIGNAL SAFETY: This lock is only accessed one other time, // which can only be triggered by This signal handler. In addition, // this signal handler is immediately removed by SA_RESETHAND, and this - // signal handler cannot be re-entrant due to to the SIGUSR2 mask defined + // signal handler cannot be re-entrant due to the SIGUSR2 mask defined // below let mut bt = BACKTRACE.lock(); bt.clear(); diff --git a/docs/src/languages/deno.md b/docs/src/languages/deno.md index 15d3efd7720822f6fddaa9799e88b7f0252f1503..c578413bbd809f9f529b75e623a44749b62fd0ac 100644 --- a/docs/src/languages/deno.md +++ b/docs/src/languages/deno.md @@ -6,7 +6,7 @@ Deno support is available through the [Deno extension](https://github.com/zed-ex ## Deno Configuration -To use the Deno Language Server with TypeScript and TSX files, you will likely wish to to disable the default language servers and enable deno by adding the following to your settings.json: +To use the Deno Language Server with TypeScript and TSX files, you will likely wish to disable the default language servers and enable deno by adding the following to your settings.json: ```json { diff --git a/docs/src/themes.md b/docs/src/themes.md index 3150b0168076c470afe2ceb012c3ef092469d1f7..363c99f065a711634e78e3b6093b9069fa7d2c7d 100644 --- a/docs/src/themes.md +++ b/docs/src/themes.md @@ -34,7 +34,7 @@ By default, Zed maintains two themes: one for light mode and one for dark mode. To override specific attributes of a theme, use the `experimental.theme_overrides` setting. -For example, add the following to your `settings.json` if you wish to to override the background color of the editor and display comments and doc comments as italics: +For example, add the following to your `settings.json` if you wish to override the background color of the editor and display comments and doc comments as italics: ```json {