docs(lib): fixup tui refs in widgets/mod.rs (#216)

This commit is contained in:
Josh McKinney 2023-06-04 03:33:09 -07:00 committed by GitHub
parent 5243aa0628
commit e95b5127ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -226,9 +226,9 @@ pub trait StatefulWidget {
/// ## Examples
///
///```
/// # use tui::widgets::{Block, Borders};
/// # use tui::style::{Style, Color};
/// # use tui::border;
/// # use ratatui::widgets::{Block, Borders};
/// # use ratatui::style::{Style, Color};
/// # use ratatui::border;
///
/// Block::default()
/// //Construct a `Borders` object and use it in place