From 51476da1d90617cb09cd4d439d0acfa542ae925c Mon Sep 17 00:00:00 2001 From: meehl <12648828+meehl@users.noreply.github.com> Date: Wed, 2 Sep 2026 18:46:37 +0200 Subject: [PATCH] Make clippy happy --- src/fonts/glyph_key.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fonts/glyph_key.rs b/src/fonts/glyph_key.rs index a988517..b17d26e 100644 --- a/src/fonts/glyph_key.rs +++ b/src/fonts/glyph_key.rs @@ -66,7 +66,7 @@ impl SubpixelBin { #[test] fn test_subpixel_bins() { - assert_eq!(SubpixelBin::<4>::new(3.14), (3, SubpixelBin(1))); + assert_eq!(SubpixelBin::<4>::new(3.13), (3, SubpixelBin(1))); assert_eq!(SubpixelBin::<4>::new(0.11), (0, SubpixelBin(0))); assert_eq!(SubpixelBin::<4>::new(-0.8), (-1, SubpixelBin(1))); assert_eq!(SubpixelBin::<2>::new(0.24), (0, SubpixelBin(0)));