diff options
author | 2023-09-20 04:51:08 +0200 | |
---|---|---|
committer | 2023-09-20 04:51:08 +0200 | |
commit | 42ed90bc6f92b2085d193e7f143430b8d3847c21 (patch) | |
tree | 708166baa85036ab80ee96f7379a8767b7691da6 /src | |
parent | 6c386e90a12fd26da12541da3f086dddb7211c0c (diff) | |
download | iced-42ed90bc6f92b2085d193e7f143430b8d3847c21.tar.gz iced-42ed90bc6f92b2085d193e7f143430b8d3847c21.tar.bz2 iced-42ed90bc6f92b2085d193e7f143430b8d3847c21.zip |
Fix `clippy::default_trait_access`
Diffstat (limited to 'src')
-rw-r--r-- | src/settings.rs | 4 | ||||
-rw-r--r-- | src/window/settings.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/settings.rs b/src/settings.rs index d9778d7e..c5e28e86 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -77,9 +77,9 @@ where fn default() -> Self { Self { id: None, - window: Default::default(), + window: window::Settings::default(), flags: Default::default(), - default_font: Default::default(), + default_font: Font::default(), default_text_size: Pixels(16.0), antialiasing: false, exit_on_close_request: true, diff --git a/src/window/settings.rs b/src/window/settings.rs index 458b9232..0ee573e5 100644 --- a/src/window/settings.rs +++ b/src/window/settings.rs @@ -52,7 +52,7 @@ impl Default for Settings { transparent: false, level: Level::default(), icon: None, - platform_specific: Default::default(), + platform_specific: PlatformSpecific::default(), } } } |