Skip to content

Commit f34e3a5

Browse files
authored
remove unnecessary where-clauses (#4023)
they may cause tachys to break with -Znext-solver
1 parent d7dd6a1 commit f34e3a5

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

tachys/src/reactive_graph/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -615,10 +615,7 @@ macro_rules! reactive_impl {
615615
fn add_any_attr<NewAttr: Attribute>(
616616
self,
617617
_attr: NewAttr,
618-
) -> Self::Output<NewAttr>
619-
where
620-
Self::Output<NewAttr>: RenderHtml,
621-
{
618+
) -> Self::Output<NewAttr> {
622619
todo!()
623620
}
624621
}

tachys/src/view/template.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,7 @@ where
6262
fn add_any_attr<NewAttr: Attribute>(
6363
self,
6464
_attr: NewAttr,
65-
) -> Self::Output<NewAttr>
66-
where
67-
Self::Output<NewAttr>: RenderHtml,
68-
{
65+
) -> Self::Output<NewAttr> {
6966
panic!("AddAnyAttr not supported on ViewTemplate");
7067
}
7168
}

0 commit comments

Comments
 (0)