Fix typo
This commit is contained in:
parent
d449c61f27
commit
42d22e2a49
1 changed files with 2 additions and 2 deletions
|
|
@ -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<E, W>(&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<E, W>(&mut self, widget: W) -> Result<(), E>
|
||||
where
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue