aboutsummaryrefslogtreecommitdiff
path: root/pixel-client/src/render/font.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-08-16 13:09:11 +0200
committermetamuffin <metamuffin@disroot.org>2024-08-16 13:09:11 +0200
commit18e7880e580d3727ad03606a7c2a1e789a9a532b (patch)
tree9f191d67e4e9e76947393b68c5f09811915623f4 /pixel-client/src/render/font.rs
parentef3bb78900d3f552b8089b5a82c3a963763a61e9 (diff)
downloadhurrycurry-18e7880e580d3727ad03606a7c2a1e789a9a532b.tar
hurrycurry-18e7880e580d3727ad03606a7c2a1e789a9a532b.tar.bz2
hurrycurry-18e7880e580d3727ad03606a7c2a1e789a9a532b.tar.zst
better error handling
Diffstat (limited to 'pixel-client/src/render/font.rs')
-rw-r--r--pixel-client/src/render/font.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixel-client/src/render/font.rs b/pixel-client/src/render/font.rs
index f1e7f4d3..79e54753 100644
--- a/pixel-client/src/render/font.rs
+++ b/pixel-client/src/render/font.rs
@@ -36,7 +36,7 @@ impl FontTextures {
})
.collect::<Vec<_>>()
.try_into()
- .unwrap(),
+ .expect("some letters are missing in the font"),
}
}
}