Skip to content

Commit

Permalink
Web: implement Error for CustomCursorError (#3793)
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda authored and kchibisov committed Aug 7, 2024
1 parent 04d8a28 commit 2000d3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/changelog/unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
2 changes: 2 additions & 0 deletions src/platform/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -461,3 +461,5 @@ impl Display for CustomCursorError {
}
}
}

impl Error for CustomCursorError {}

0 comments on commit 2000d3e

Please sign in to comment.