1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Fix broken doc link to segment_into_runs

The function was moved from Font to a free function in text_layout.rs.
Update the doc reference accordingly.
This commit is contained in:
gcailly
2026-03-28 22:05:49 +01:00
parent b14ed8bd18
commit 73a1f01fb3

View File

@@ -207,7 +207,7 @@ impl ShapingContext {
}
}
/// Produced by [`Font::segment_into_runs`] for text shaping.
/// Produced by [`segment_into_runs`] for text shaping.
#[derive(Debug)]
struct TextRun {
/// Which font face should shape this run.