diff --git a/crates/epaint/src/text/text_layout_types.rs b/crates/epaint/src/text/text_layout_types.rs index f1f1359a866..5872844f928 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 {