additional warnings

This commit is contained in:
Greg Johnston 2024-06-01 07:27:54 -04:00
parent 9fd881603f
commit 6dfea0b0a2
4 changed files with 4 additions and 3 deletions

View File

@ -528,7 +528,7 @@ pub(crate) fn attribute_absolute(
quote! {
::leptos::tachys::html::#key::#key(#value)
}
}
}
else if name.contains('-') && !name.starts_with("aria-") {
quote! {
::leptos::tachys::html::attribute::custom::custom_attribute(#name, #value)

View File

@ -288,6 +288,7 @@ pub(crate) fn register<E, At, Ch>(
where
HtmlElement<E, At, Ch, Dom>: RenderHtml<Dom>,
{
#[allow(unused_mut)] // used for `ssr`
let mut el = Some(el);
#[cfg(feature = "ssr")]

View File

@ -128,7 +128,7 @@ where
}
*/
pub struct FlatRoutesViewState<Defs, Fal, R>
pub struct FlatRoutesViewState<Defs, Fal, R>
where
Defs: MatchNestedRoutes<R> + 'static,
Fal: Render<R> + 'static,

View File

@ -205,7 +205,7 @@ where
Some(children) => {
let (inner, remaining) = children.match_nested(remaining);
let (id, inner) = inner?;
(Some(id), Some(inner), remaining)
(Some(id), Some(inner), remaining)
}
};
let params = params.into_iter();