summaryrefslogtreecommitdiffstats
path: root/examples/download_progress
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-20 05:03:25 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-20 05:03:25 +0200
commitcaed50b277495e4375975f3f4e271b8fcbc0c33f (patch)
tree35e20b9c578b22598ca618e0bd34f9b619e7d176 /examples/download_progress
parent42ed90bc6f92b2085d193e7f143430b8d3847c21 (diff)
downloadiced-caed50b277495e4375975f3f4e271b8fcbc0c33f.tar.gz
iced-caed50b277495e4375975f3f4e271b8fcbc0c33f.tar.bz2
iced-caed50b277495e4375975f3f4e271b8fcbc0c33f.zip
Fix `clippy::match-wildcard-for-single-variants`
Diffstat (limited to 'examples/download_progress')
-rw-r--r--examples/download_progress/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/download_progress/src/main.rs b/examples/download_progress/src/main.rs
index 001a1f8f..e52c604c 100644
--- a/examples/download_progress/src/main.rs
+++ b/examples/download_progress/src/main.rs
@@ -123,7 +123,7 @@ impl Download {
| State::Errored { .. } => {
self.state = State::Downloading { progress: 0.0 };
}
- _ => {}
+ State::Downloading{ .. } => {}
}
}