mirror of
https://github.com/leptos-rs/leptos
synced 2024-09-20 14:32:00 +00:00
fix: generics on impl From slot to Vec<slot>
(#946)
This commit is contained in:
parent
78d6d312f8
commit
234861a156
1 changed files with 2 additions and 2 deletions
|
@ -81,8 +81,8 @@ impl ToTokens for Model {
|
|||
#prop_builder_fields
|
||||
}
|
||||
|
||||
impl From<#name> for Vec<#name> {
|
||||
fn from(value: #name) -> Self {
|
||||
impl #generics From<#name #generics> for Vec<#name #generics> #where_clause {
|
||||
fn from(value: #name #generics) -> Self {
|
||||
vec![value]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue