summaryrefslogtreecommitdiffstats
path: root/native/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-09 18:42:41 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-09 18:43:05 +0200
commit2065a40f642589134142a740ff4198deaa4c378b (patch)
tree00477d6d7cb571332062535557151d5b031d8925 /native/src
parentd53cc5498b92fb6b573867f5ccb5f8ac93f6be79 (diff)
downloadiced-2065a40f642589134142a740ff4198deaa4c378b.tar.gz
iced-2065a40f642589134142a740ff4198deaa4c378b.tar.bz2
iced-2065a40f642589134142a740ff4198deaa4c378b.zip
Fix `clippy` lints for all crates and features
... and check those in CI as well!
Diffstat (limited to 'native/src')
-rw-r--r--native/src/debug/basic.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/native/src/debug/basic.rs b/native/src/debug/basic.rs
index d706bb00..603f2fd5 100644
--- a/native/src/debug/basic.rs
+++ b/native/src/debug/basic.rs
@@ -186,6 +186,12 @@ impl Debug {
}
}
+impl Default for Debug {
+ fn default() -> Self {
+ Self::new()
+ }
+}
+
#[derive(Debug)]
struct TimeBuffer {
head: usize,