diff options
author | 2023-02-23 19:38:43 +0100 | |
---|---|---|
committer | 2023-02-23 19:38:43 +0100 | |
commit | 573d27eb52bbfacf1b06983b4282f00eb5265bdc (patch) | |
tree | 116e1e51d5d66e0a02cc474fbbdae4205f03090d /src | |
parent | 666f3cd143047e49a010f0c97eabc7136f92aa35 (diff) | |
parent | 07a7681dba5a9a40627689246d2a84414dfc48d3 (diff) | |
download | iced-573d27eb52bbfacf1b06983b4282f00eb5265bdc.tar.gz iced-573d27eb52bbfacf1b06983b4282f00eb5265bdc.tar.bz2 iced-573d27eb52bbfacf1b06983b4282f00eb5265bdc.zip |
Merge pull request #1731 from tarkah/fix/debug-bytes
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( |