summaryrefslogtreecommitdiff
path: root/library/src/text/shaping.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/text/shaping.rs')
-rw-r--r--library/src/text/shaping.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/text/shaping.rs b/library/src/text/shaping.rs
index 7d5703bc..e670d0d1 100644
--- a/library/src/text/shaping.rs
+++ b/library/src/text/shaping.rs
@@ -448,8 +448,8 @@ impl Debug for ShapedText<'_> {
}
/// Holds shaping results and metadata common to all shaped segments.
-struct ShapingContext<'a> {
- vt: &'a Vt<'a>,
+struct ShapingContext<'a, 'v> {
+ vt: &'a Vt<'v>,
spans: &'a SpanMapper,
glyphs: Vec<ShapedGlyph>,
used: Vec<Font>,