diff --git a/src/use_preferred_contrast.rs b/src/use_preferred_contrast.rs index d90998f..9e3eb0a 100644 --- a/src/use_preferred_contrast.rs +++ b/src/use_preferred_contrast.rs @@ -54,7 +54,6 @@ pub enum PreferredContrast { Custom, #[default] NoPreference, - } impl Display for PreferredContrast { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { diff --git a/src/use_prefers_reduced_motion.rs b/src/use_prefers_reduced_motion.rs index 68a0563..b1afd55 100644 --- a/src/use_prefers_reduced_motion.rs +++ b/src/use_prefers_reduced_motion.rs @@ -61,7 +61,9 @@ pub fn use_prefers_reduced_motion() -> Signal { } /// Version of [`fn@crate::use_prefers_reduced_motion`] that takes a `UsePrefersReducedMotionOptions`. See [`fn@crate::use_prefers_reduced_motion`] for how to use. -pub fn use_prefers_reduced_motion_with_options(options: UsePrefersReducedMotionOptions) -> Signal { +pub fn use_prefers_reduced_motion_with_options( + options: UsePrefersReducedMotionOptions, +) -> Signal { #[cfg(not(feature = "ssr"))] { let _ = options;