Fix miscellaneous typos (#58979)

Some typos I found while reading the code

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A
This commit is contained in:
Konstantinos St 2026-06-09 19:46:22 -03:00 committed by GitHub
parent 3d2f7adb95
commit bb59dc59fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 7 additions and 7 deletions

View file

@ -8039,7 +8039,7 @@ async fn test_rewrap(cx: &mut TestAppContext) {
&mut cx,
);
// Test that change in comment prefix (e.g., `//` to `///`) trigger seperate rewraps
// Test that change in comment prefix (e.g., `//` to `///`) trigger separate rewraps
assert_rewrap(
indoc! {"
«// A regular long long comment to be wrapped.
@ -8055,7 +8055,7 @@ async fn test_rewrap(cx: &mut TestAppContext) {
&mut cx,
);
// Test that change in indentation level trigger seperate rewraps
// Test that change in indentation level trigger separate rewraps
assert_rewrap(
indoc! {"
fn foo() {

View file

@ -1373,7 +1373,7 @@ mod tests {
cx.run_until_parked();
// Jiggle within the same character should not produce a new request,
// even though the previous reponse was empty and produced no link to
// even though the previous response was empty and produced no link to
// highlight.
cx.simulate_mouse_move(second_point, None, Modifiers::secondary_key());
cx.run_until_parked();

View file

@ -6311,7 +6311,7 @@ impl GitPanel {
window: &Window,
cx: &Context<Self>,
) -> AnyElement {
// TODO: Have not yet plugin the self.marked_entries. Not sure when and why we need that
// TODO: Have not yet plugged in self.marked_entries. Not sure when and why we need that
let selected = self.selected_entry == Some(ix);
let label_color = Color::Muted;

View file

@ -938,7 +938,7 @@ impl WindowsWindowInner {
unsafe { GetWindowRect(handle, &mut rect) }.log_err();
// right and bottom bounds of RECT are exclusive, thus `-1`
let right = rect.right - rect.left - 1;
// the bounds include the padding frames, so accomodate for both of them
// the bounds include the padding frames, so accommodate for both of them
if right - 2 * frame_x <= cursor_point.x {
HTTOPRIGHT
} else {

View file

@ -1155,7 +1155,7 @@ impl ProjectPanel {
.action("Cut", Box::new(Cut))
.action("Copy", Box::new(Copy))
.action("Duplicate", Box::new(Duplicate))
// TODO: Paste should always be visible, cbut disabled when clipboard is empty
// TODO: Paste should always be visible, but disabled when clipboard is empty
.action_disabled_when(!has_pasteable_content, "Paste", Box::new(Paste))
.when(cx.has_flag::<ProjectPanelUndoRedoFeatureFlag>(), |menu| {
menu.action_disabled_when(

View file

@ -69,7 +69,7 @@ pub struct SpawnInTerminal {
pub hide: HideStrategy,
/// Which shell to use when spawning the task.
pub shell: Shell,
/// Whether to show the task summary line in the task output (sucess/failure).
/// Whether to show the task summary line in the task output (success/failure).
pub show_summary: bool,
/// Whether to show the command line in the task output.
pub show_command: bool,