few changes
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user