Skip to content

Commit

Permalink
Update config.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
branpk committed Oct 3, 2023
1 parent eda26a8 commit c2cc7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wafel_window/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c2cc7d8

Please sign in to comment.