Skip to content

Commit 84c780a

Browse files
authored
Un-deprecate Priority
1 parent 610d1e1 commit 84c780a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

algebra-core/src/main/scala/algebra/Priority.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import scala.annotation.nowarn
1313
* This type can be useful for problems where multiple algorithms can
1414
* be used, depending on the type classes available.
1515
*/
16-
@deprecated("No replacement", since = "2.7.0")
1716
sealed trait Priority[+P, +F] {
1817

1918
import Priority.{Fallback, Preferred}
@@ -49,7 +48,6 @@ sealed trait Priority[+P, +F] {
4948
fold[Option[F]](_ => None)(f => Some(f))
5049
}
5150

52-
@deprecated("No replacement", since = "2.7.0")
5351
object Priority extends FindPreferred {
5452

5553
case class Preferred[P](get: P) extends Priority[P, Nothing]

0 commit comments

Comments
 (0)