Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix typos

Nate Butler50fe6833056c
diff --git a/crates/gpui2/src/platform.rs b/crates/gpui2/src/platform.rs
index 3a45fff35c8..7090a2a242a 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 1d0eaeaffc1..314f055811c 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 {