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 3a45fff35c8cb1881d229bae71f4767c3e25c6fb..7090a2a242ae4ff9401c339665e4027c9c93c52c 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 1d0eaeaffc11bdf4c590286bb662761fe960865d..314f055811c57cde9c654294e2d39ed7f1cc3806 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 {