diff options
author | 2023-09-20 16:26:43 +0200 | |
---|---|---|
committer | 2023-09-20 16:26:43 +0200 | |
commit | b27762554627b8e89f2b840b1a8a512e22d4cd87 (patch) | |
tree | 4099870d14980fb2651dc50786639ca704a55074 /wgpu/src/image | |
parent | 76873921af3cd04ac0cbed01ebbd66936454dbe3 (diff) | |
download | iced-b27762554627b8e89f2b840b1a8a512e22d4cd87.tar.gz iced-b27762554627b8e89f2b840b1a8a512e22d4cd87.tar.bz2 iced-b27762554627b8e89f2b840b1a8a512e22d4cd87.zip |
Revert "Chore: Apply clippy map transformations"
This reverts commit c997aad85d7ee6e77085e50e5e599002549d228f.
Diffstat (limited to 'wgpu/src/image')
-rw-r--r-- | wgpu/src/image/vector.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/image/vector.rs b/wgpu/src/image/vector.rs index e8baae4f..6582bb82 100644 --- a/wgpu/src/image/vector.rs +++ b/wgpu/src/image/vector.rs @@ -56,7 +56,7 @@ impl Cache { .ok() }); - tree.map_or(Svg::NotFound, Svg::Loaded) + tree.map(Svg::Loaded).unwrap_or(Svg::NotFound) } svg::Data::Bytes(bytes) => { match usvg::Tree::from_data(bytes, &usvg::Options::default()) { |