few changes

This commit is contained in:
2025-01-19 23:24:55 +01:00
parent 5a21f9f740
commit fda5387ccc
4 changed files with 12 additions and 4 deletions
+13
View File
@@ -0,0 +1,13 @@
use crate::Widget;
impl Widget for &str {
fn render(&self) -> String {
self.to_string()
}
}
impl Widget for String {
fn render(&self) -> String {
self.clone()
}
}