mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
flatten more fns
This commit is contained in:
parent
fe9d5a309e
commit
e0f4ec9a15
5 changed files with 203 additions and 133 deletions
|
|
@ -39,7 +39,7 @@ pub(crate) use std::ffi::OsString;
|
|||
use std::sync::{Arc, RwLock};
|
||||
struct TestComponent(String);
|
||||
impl Content<TuiOut> for TestComponent {
|
||||
fn content (&self) -> Option<impl Content<TuiOut>> {
|
||||
fn content (&self) -> impl Render<TuiOut> {
|
||||
Some(self.0.as_str())
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue