Skip to content

Commit ab05913

Browse files
committed
Fix scaladoc-js HTML.Tag unchecked patmat
1 parent a260a54 commit ab05913

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scaladoc-js/common/src/utils/html.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ object HTML {
2626
case ("id", id) => elem.id = id
2727
case ("class", value) => value.split("\\s+").foreach(cls => elem.classList.add(cls))
2828
case (attr, value) => elem.setAttribute(attr, value)
29-
case s: Seq[AppliedAttr] => unpackAttributes(s*)
29+
case s: Seq[AppliedAttr @unchecked] => unpackAttributes(s*)
3030
}
3131

3232
unpackTags(tags*)
@@ -118,4 +118,4 @@ object HTML {
118118
val titleAttr =Attr("title")
119119
val onkeyup = Attr("onkeyup")
120120

121-
}
121+
}

0 commit comments

Comments
 (0)