From c2cc7d84cfcd6fcc3bc518a10ffa0f5cd488def6 Mon Sep 17 00:00:00 2001 From: Brandon Pickering Date: Tue, 3 Oct 2023 10:44:01 -0700 Subject: [PATCH] Update config.rs --- wafel_window/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wafel_window/src/config.rs b/wafel_window/src/config.rs index 8bd25c05..8a4ea404 100644 --- a/wafel_window/src/config.rs +++ b/wafel_window/src/config.rs @@ -124,7 +124,7 @@ impl Config { /// Sets the window icon from a .ico file (Windows only). /// /// This requires the `image` feature. - #[cfg(any(feature = "image", doc))] + #[cfg(feature = "image")] pub fn with_icon_from_ico(self, ico_bytes: &[u8]) -> Self { let image = image::load_from_memory_with_format(ico_bytes, image::ImageFormat::Ico) .unwrap()