mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
PropsBuilder: use from trait
This commit is contained in:
@@ -201,7 +201,7 @@ impl Component for FileList {
|
||||
/// This returns a prop builder in order to make easier to create
|
||||
/// new properties for the element.
|
||||
fn get_props(&self) -> PropsBuilder {
|
||||
PropsBuilder::from_props(&self.props)
|
||||
PropsBuilder::from(self.props.clone())
|
||||
}
|
||||
|
||||
/// ### on
|
||||
|
||||
Reference in New Issue
Block a user