instead of unknown panic, we get a useful message

macos-click-through
exoticus 5 years ago
parent 7c9924ba57
commit 2975d599bd

@ -266,7 +266,7 @@ impl CachingShaper {
.normal
.itemize("a")
.next()
.unwrap()
.expect("Cannot get font metrics")
.1
.font
.metrics()

Loading…
Cancel
Save