mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-09-18 05:16:44 +02:00
This commit is contained in:
parent
7f9b7091e2
commit
ac9fd7dfba
4 changed files with 24 additions and 50 deletions
|
|
@ -302,7 +302,7 @@ impl Tui {
|
|||
/// Ok(None),
|
||||
/// Err("fail".into()),
|
||||
/// ] {
|
||||
/// let _ = tengri::Tui::catcher(variant);
|
||||
/// let _ = tengri::Tui::catcher(&variant);
|
||||
/// }
|
||||
/// ```
|
||||
pub fn catcher <T: Draw<Tui>> (result: &Usually<T>) -> impl Draw<Tui> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue