Fix typos

Nate Butler and Marshall Bowers created

Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>

Change summary

crates/gpui2/src/platform.rs              | 2 +-
crates/gpui2/src/platform/mac/platform.rs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Detailed changes

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,

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 {