From 73a1f01fb33660f3b38fefa459adbe9e14aa0616 Mon Sep 17 00:00:00 2001 From: gcailly <109429289+gcailly@users.noreply.github.com> Date: Sat, 28 Mar 2026 22:05:49 +0100 Subject: [PATCH] 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. --- crates/epaint/src/text/text_layout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/epaint/src/text/text_layout.rs b/crates/epaint/src/text/text_layout.rs index 23ea4b36e..0f3089292 100644 --- a/crates/epaint/src/text/text_layout.rs +++ b/crates/epaint/src/text/text_layout.rs @@ -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.