diff options
author | 2023-02-23 09:31:48 -0800 | |
---|---|---|
committer | 2023-02-23 09:31:48 -0800 | |
commit | 07a7681dba5a9a40627689246d2a84414dfc48d3 (patch) | |
tree | 116e1e51d5d66e0a02cc474fbbdae4205f03090d /src | |
parent | 666f3cd143047e49a010f0c97eabc7136f92aa35 (diff) | |
download | iced-07a7681dba5a9a40627689246d2a84414dfc48d3.tar.gz iced-07a7681dba5a9a40627689246d2a84414dfc48d3.tar.bz2 iced-07a7681dba5a9a40627689246d2a84414dfc48d3.zip |
Remove logging large bytes arrays
Diffstat (limited to 'src')
-rw-r--r-- | src/window/icon.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/window/icon.rs b/src/window/icon.rs index d57eb79c..659d2b64 100644 --- a/src/window/icon.rs +++ b/src/window/icon.rs @@ -6,9 +6,15 @@ use std::io; use std::path::Path; /// The icon of a window. -#[derive(Debug, Clone)] +#[derive(Clone)] pub struct Icon(iced_winit::winit::window::Icon); +impl fmt::Debug for Icon { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + f.debug_tuple("Icon").field(&format_args!("_")).finish() + } +} + impl Icon { /// Creates an icon from 32bpp RGBA data. pub fn from_rgba( |