flatten more fns

This commit is contained in:
🪞👃🪞 2025-02-09 16:06:36 +01:00
parent fe9d5a309e
commit e0f4ec9a15
5 changed files with 203 additions and 133 deletions

View file

@ -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())
}
}