diff --git a/src/changelog/unreleased.md b/src/changelog/unreleased.md index f3a0f6d2c3..3ed337ce42 100644 --- a/src/changelog/unreleased.md +++ b/src/changelog/unreleased.md @@ -39,3 +39,7 @@ The migration guide could reference other migration examples in the current changelog entry. ## Unreleased + +### Added + +- On Web, implement `Error` for `platform::web::CustomCursorError`. diff --git a/src/platform/web.rs b/src/platform/web.rs index 23831ceaa3..a48c6b09b4 100644 --- a/src/platform/web.rs +++ b/src/platform/web.rs @@ -461,3 +461,5 @@ impl Display for CustomCursorError { } } } + +impl Error for CustomCursorError {}