summaryrefslogtreecommitdiffstats
path: root/tiny_skia
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-12-11 10:47:17 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-12-11 10:47:17 +0100
commitbb30b137d8b836b7e877d938c4cc62feefb9113f (patch)
tree00e040f90cea683c325993aeeca6e6457b8445dd /tiny_skia
parenta2a96adf7a19f8b2f7879fc19ff139b930fb102e (diff)
downloadiced-bb30b137d8b836b7e877d938c4cc62feefb9113f.tar.gz
iced-bb30b137d8b836b7e877d938c4cc62feefb9113f.tar.bz2
iced-bb30b137d8b836b7e877d938c4cc62feefb9113f.zip
Fix `expect` message in `iced_tiny_skia::vector`
Diffstat (limited to 'tiny_skia')
-rw-r--r--tiny_skia/src/vector.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tiny_skia/src/vector.rs b/tiny_skia/src/vector.rs
index 9c2893a2..fd1ab3de 100644
--- a/tiny_skia/src/vector.rs
+++ b/tiny_skia/src/vector.rs
@@ -96,7 +96,7 @@ impl Cache {
if let Some(svg) = &mut svg {
if svg.has_text_nodes() {
let mut font_system =
- text::font_system().write().expect("Read font system");
+ text::font_system().write().expect("Write font system");
svg.convert_text(font_system.raw().db_mut());
}