Skip to content

Commit 8083703

Browse files
lcnrgbj
authored andcommitted
remove unnecessary where-clauses (#4023)
they may cause tachys to break with -Znext-solver (cherry picked from commit f34e3a5)
1 parent 0174637 commit 8083703

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
@@ -561,10 +561,7 @@ mod stable {
561561
fn add_any_attr<NewAttr: Attribute>(
562562
self,
563563
_attr: NewAttr,
564-
) -> Self::Output<NewAttr>
565-
where
566-
Self::Output<NewAttr>: RenderHtml,
567-
{
564+
) -> Self::Output<NewAttr> {
568565
todo!()
569566
}
570567
}

tachys/src/view/template.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,7 @@ where
5858
fn add_any_attr<NewAttr: Attribute>(
5959
self,
6060
_attr: NewAttr,
61-
) -> Self::Output<NewAttr>
62-
where
63-
Self::Output<NewAttr>: RenderHtml,
64-
{
61+
) -> Self::Output<NewAttr> {
6562
panic!("AddAnyAttr not supported on ViewTemplate");
6663
}
6764
}

0 commit comments

Comments
 (0)