summaryrefslogtreecommitdiffstats
path: root/tiny_skia/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2023-09-19 13:21:50 +0200
committerLibravatar GitHub <noreply@github.com>2023-09-19 13:21:50 +0200
commita4dbf0788716e8b83a9f37963ef685b765a326c6 (patch)
tree70ffb135b91c824caa37a0fe4742179088e5a638 /tiny_skia/src
parent4613eb26cba3ded83f25ebdefd01c983c79a9d59 (diff)
parent3d6b9637c3b1c9f3c654a3ecef7a247cfd6edef3 (diff)
downloadiced-a4dbf0788716e8b83a9f37963ef685b765a326c6.tar.gz
iced-a4dbf0788716e8b83a9f37963ef685b765a326c6.tar.bz2
iced-a4dbf0788716e8b83a9f37963ef685b765a326c6.zip
Merge pull request #2089 from nyurik/inlinefmt
Chore: Inline format args for ease of reading
Diffstat (limited to 'tiny_skia/src')
-rw-r--r--tiny_skia/src/backend.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tiny_skia/src/backend.rs b/tiny_skia/src/backend.rs
index c721d96e..65aca4b0 100644
--- a/tiny_skia/src/backend.rs
+++ b/tiny_skia/src/backend.rs
@@ -443,8 +443,7 @@ impl Backend {
#[cfg(not(feature = "image"))]
Primitive::Image { .. } => {
log::warn!(
- "Unsupported primitive in `iced_tiny_skia`: {:?}",
- primitive
+ "Unsupported primitive in `iced_tiny_skia`: {primitive:?}",
);
}
#[cfg(feature = "svg")]
@@ -473,8 +472,7 @@ impl Backend {
#[cfg(not(feature = "svg"))]
Primitive::Svg { .. } => {
log::warn!(
- "Unsupported primitive in `iced_tiny_skia`: {:?}",
- primitive
+ "Unsupported primitive in `iced_tiny_skia`: {primitive:?}",
);
}
Primitive::Custom(primitive::Custom::Fill {