From 50fe6833056c9837f1b89a7e420cad33d82b15ce Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Mon, 4 Dec 2023 11:28:22 -0500 Subject: [PATCH] Fix typos Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com> --- crates/gpui2/src/platform.rs | 2 +- crates/gpui2/src/platform/mac/platform.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/gpui2/src/platform.rs b/crates/gpui2/src/platform.rs index 3a45fff35c..7090a2a242 100644 --- a/crates/gpui2/src/platform.rs +++ b/crates/gpui2/src/platform.rs @@ -472,7 +472,7 @@ pub enum PromptLevel { Critical, } -/// Change the style of the cursor (pointer) +/// The style of the cursor (pointer) #[derive(Copy, Clone, Debug)] pub enum CursorStyle { Arrow, diff --git a/crates/gpui2/src/platform/mac/platform.rs b/crates/gpui2/src/platform/mac/platform.rs index 1d0eaeaffc..314f055811 100644 --- a/crates/gpui2/src/platform/mac/platform.rs +++ b/crates/gpui2/src/platform/mac/platform.rs @@ -724,7 +724,7 @@ impl Platform for MacPlatform { } } - /// Match cusor style to to one of the styles available + /// Match cursor style to one of the styles available /// in macOS's [NSCursor](https://developer.apple.com/documentation/appkit/nscursor). fn set_cursor_style(&self, style: CursorStyle) { unsafe {