Skip to content

Commit 2852167

Browse files
authored
Use monospace font for code
1 parent 33069f1 commit 2852167

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shared/src/main/scala/com/thoughtworks/Extractor.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private[thoughtworks] sealed trait LowPriorityExtractor extends LowLowPriorityEx
2626
def seq = new SeqExtractor[A, B] {
2727
def unapplySeq(a: A) = underlying(a)
2828
}
29-
@deprecated("Use f.extract.seq instead", "1.1.0")
29+
@deprecated("Use `f.extract.seq` instead", "1.1.0")
3030
def extractSeq = seq
3131
}
3232

@@ -85,7 +85,7 @@ sealed trait Extractor[-A, +B] extends (A => Option[B]) {
8585
*/
8686
object Extractor extends LowPriorityExtractor {
8787

88-
@deprecated("Use f.extract.seq instead", "1.1.0")
88+
@deprecated("Use `f.extract.seq` instead", "1.1.0")
8989
implicit final class PartialFunctionToSeqExtractor[-A, +B] private[Extractor] (
9090
underlying: PartialFunction[A, Seq[B]]) {
9191
def extractSeq = new SeqExtractor[A, B] {
@@ -99,7 +99,7 @@ object Extractor extends LowPriorityExtractor {
9999
}
100100
}
101101

102-
@deprecated("Use Function.unlift instead", "1.1.0")
102+
@deprecated("Use `Function.unlift` instead", "1.1.0")
103103
implicit final class OptionFunctionToPartialFunction[-A, +B] private[Extractor] (underlying: A => Option[B]) {
104104
def unlift: PartialFunction[A, B] = {
105105
case underlying.extract(b) => b

0 commit comments

Comments
 (0)