feat: create framework for loaner app forms
This commit is contained in:
1 parent
5e4d43d30b
commit
24fe9802b9
4 files changed
+216
-57
No files matched your search
@@ -25,9 +25,9 @@ pub struct ExpandableInfo {
|
||||
}
|
||||
|
||||
impl ExpandableInfo {
|
||||
pub fn new(key: String) -> Self {
|
||||
pub fn new(key: impl Into<String>) -> Self {
|
||||
Self {
|
||||
subject: key,
|
||||
subject: key.into(),
|
||||
data: HashMap::new(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user