aboutsummaryrefslogtreecommitdiff
path: root/examples/src/main/scala/show.scala
diff options
context:
space:
mode:
Diffstat (limited to 'examples/src/main/scala/show.scala')
-rw-r--r--examples/src/main/scala/show.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/src/main/scala/show.scala b/examples/src/main/scala/show.scala
index 9da507c..860871e 100644
--- a/examples/src/main/scala/show.scala
+++ b/examples/src/main/scala/show.scala
@@ -9,7 +9,7 @@ import scala.language.experimental.macros
/** shows one type as another, often as a string
*
* Note that this is a more general form of `Show` than is usual, as it permits the return type to
- * be something other than [[String]]. */
+ * be something other than a string. */
trait Show[Out, T] { def show(value: T): Out }
/** companion object to [[Show]] */
@@ -17,7 +17,7 @@ object Show {
/** the type constructor for new [[Show]] instances
*
- * The first parameter is fixed as [[String]], and the second parameter varies generically. */
+ * The first parameter is fixed as `String`, and the second parameter varies generically. */
type Typeclass[T] = Show[String, T]
/** creates a new [[Show]] instance by labelling and joining (with `mkString`) the result of