From a32f53a1052d51266bc2568e92c327b5df0a4fa5 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Tue, 17 Sep 2024 11:04:37 +0200 Subject: [PATCH] Fix doclink --- crates/epaint/src/text/text_layout_types.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/epaint/src/text/text_layout_types.rs b/crates/epaint/src/text/text_layout_types.rs index f1f1359a8..5872844f9 100644 --- a/crates/epaint/src/text/text_layout_types.rs +++ b/crates/epaint/src/text/text_layout_types.rs @@ -283,11 +283,10 @@ pub struct TextFormat { /// If you use a small font and [`Align::BOTTOM`] /// you get the effect of a subscript. /// - /// If you use [`Align::center`], you get text that is centered + /// If you use [`Align::Center`], you get text that is centered /// around a common center-line, which is nice when mixining emojis /// and normal text in e.g. a button. pub valign: Align, - // TODO(emilk): lowered } impl Default for TextFormat {