From 1fb19f08ce29153f68a701d1a2a6bd382c53630f Mon Sep 17 00:00:00 2001 From: Antoine Marras <57460188+spineki@users.noreply.github.com> Date: Mon, 31 Oct 2022 21:39:49 +0100 Subject: [PATCH] Typo in egui, layout: alignmen => alignment (#2209) --- crates/egui/src/layout.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/egui/src/layout.rs b/crates/egui/src/layout.rs index aba2089f..21ea0f78 100644 --- a/crates/egui/src/layout.rs +++ b/crates/egui/src/layout.rs @@ -183,7 +183,7 @@ impl Layout { /// Place elements vertically, top to bottom. /// - /// Use the provided horizontal alignmen. + /// Use the provided horizontal alignment. #[inline(always)] pub fn top_down(halign: Align) -> Self { Self { @@ -204,7 +204,7 @@ impl Layout { /// Place elements vertically, bottom up. /// - /// Use the provided horizontal alignmen. + /// Use the provided horizontal alignment. #[inline(always)] pub fn bottom_up(halign: Align) -> Self { Self {