Skip to content

Commit 97f87ed

Browse files
Fix typos (#16)
1 parent 35d512d commit 97f87ed

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `cursor-icon`: A common cursor icon type
22

3-
This library provides standard type to work with the cursor icon accross
3+
This library provides a standard type to work with the cursor icon across
44
multiple platforms.
55

66
The transformation to the actual value used by the platform for this icon is

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
//! The cross platform cursor icon type.
1616
//!
17-
//! This type is intended to be used as a standard interopability type between
17+
//! This type is intended to be used as a standard interoperability type between
1818
//! GUI frameworks in order to convey the cursor icon type.
1919
//!
2020
//! # Example
@@ -42,7 +42,7 @@
4242
// license as well as the W3C short notice apply to the `CursorIcon` enum's
4343
// variants and documentation attached to them.
4444

45-
// --------- BEGGINING OF W3C LICENSE
45+
// --------- BEGINNING OF W3C LICENSE
4646
// --------------------------------------------------------------
4747
//
4848
// License
@@ -84,7 +84,7 @@
8484
// --------- END OF W3C LICENSE
8585
// --------------------------------------------------------------------
8686

87-
// --------- BEGGINING OF W3C SHORT NOTICE
87+
// --------- BEGINNING OF W3C SHORT NOTICE
8888
// ---------------------------------------------------------
8989
//
9090
// winit: https://github.com/rust-windowing/cursor-icon
@@ -378,7 +378,7 @@ impl core::str::FromStr for CursorIcon {
378378

379379
/// Parse a string slice into [`CursorIcon`].
380380
///
381-
/// The `name` is a lower kebab case [`CursorIcon`] varaint name, e.g.
381+
/// The `name` is a lower kebab case [`CursorIcon`] variant name, e.g.
382382
/// `nesw-resize`. The set of possible valid `name` values matches exactly
383383
/// the set of [`CursorIcon::name`] outputs.
384384
fn from_str(name: &str) -> Result<Self, Self::Err> {

0 commit comments

Comments
 (0)