chore: clippy
This commit is contained in:
parent
095faf15b1
commit
a47759007f
|
@ -452,7 +452,7 @@ where
|
|||
}
|
||||
|
||||
#[cfg(feature = "nightly")]
|
||||
impl<'a, const V: &'static str, R> IntoStyle<R> for (Arc<str>, Static<V>)
|
||||
impl<const V: &'static str, R> IntoStyle<R> for (Arc<str>, Static<V>)
|
||||
where
|
||||
R: DomRenderer,
|
||||
{
|
||||
|
@ -474,7 +474,7 @@ where
|
|||
fn build(self, el: &R::Element) -> Self::State {
|
||||
let (name, _) = &self;
|
||||
let style = R::style(el);
|
||||
R::set_css_property(&style, &name, V);
|
||||
R::set_css_property(&style, name, V);
|
||||
}
|
||||
|
||||
fn rebuild(self, _state: &mut Self::State) {}
|
||||
|
|
|
@ -36,6 +36,7 @@ where
|
|||
build: fn(Box<dyn Any>) -> AnyViewState<R>,
|
||||
rebuild: fn(TypeId, Box<dyn Any>, &mut AnyViewState<R>),
|
||||
#[cfg(feature = "ssr")]
|
||||
#[allow(clippy::type_complexity)]
|
||||
resolve:
|
||||
fn(Box<dyn Any>) -> Pin<Box<dyn Future<Output = AnyView<R>> + Send>>,
|
||||
#[cfg(feature = "ssr")]
|
||||
|
|
Loading…
Reference in New Issue