From 42d22e2a49c6c558de7e081e50f69a8a92ac274c Mon Sep 17 00:00:00 2001 From: Joscha Date: Sat, 18 Feb 2023 18:56:16 +0100 Subject: [PATCH] Fix typo --- src/terminal.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/terminal.rs b/src/terminal.rs index 52906af..cb4a186 100644 --- a/src/terminal.rs +++ b/src/terminal.rs @@ -216,7 +216,7 @@ impl Terminal { /// Display a [`Widget`] on the screen. /// - /// Before creating and presenting a widget, [`Self::masure_widths`] should + /// Before creating and presenting a widget, [`Self::measure_widths`] should /// be called. There is no need to call [`Self::autoresize`]. pub fn present_widget(&mut self, widget: W) -> Result<(), E> where @@ -231,7 +231,7 @@ impl Terminal { /// Display an [`AsyncWidget`] on the screen. /// - /// Before creating and presenting a widget, [`Self::masure_widths`] should + /// Before creating and presenting a widget, [`Self::measure_widths`] should /// be called. There is no need to call [`Self::autoresize`]. pub async fn present_async_widget(&mut self, widget: W) -> Result<(), E> where