diff --git a/src/changelog/unreleased.md b/src/changelog/unreleased.md index 565d45ea..5d4dc5bd 100644 --- a/src/changelog/unreleased.md +++ b/src/changelog/unreleased.md @@ -80,3 +80,4 @@ changelog entry. This feature was incomplete, and the equivalent functionality can be trivially achieved outside of `winit` using `objc2-ui-kit` and calling `UIDevice::currentDevice().userInterfaceIdiom()`. +- On Web, remove unused `platform::web::CustomCursorError::Animation`. diff --git a/src/platform/web.rs b/src/platform/web.rs index 3c610cd4..c3e570c3 100644 --- a/src/platform/web.rs +++ b/src/platform/web.rs @@ -423,7 +423,6 @@ impl Future for CustomCursorFuture { pub enum CustomCursorError { Blob, Decode(String), - Animation, } impl Display for CustomCursorError { @@ -431,9 +430,6 @@ impl Display for CustomCursorError { match self { Self::Blob => write!(f, "failed to create `Blob`"), Self::Decode(error) => write!(f, "failed to decode image: {error}"), - Self::Animation => { - write!(f, "found `CustomCursor` that is an animation when building an animation") - }, } } }