diff options
author | Jon Pretty <jon.pretty@propensive.com> | 2017-11-09 09:24:18 +0000 |
---|---|---|
committer | Jon Pretty <jon.pretty@propensive.com> | 2017-11-09 09:24:18 +0000 |
commit | e396b7a038e458de37ced6b59e0d367883bc3b71 (patch) | |
tree | fcdcf1950d34f5ec88ce2b6239d1ce51bb49fd94 /examples/src/main/scala/show.scala | |
parent | c5c9c4f1432391f6af9202dd89872e5aae92ca58 (diff) | |
download | magnolia-e396b7a038e458de37ced6b59e0d367883bc3b71.tar.gz magnolia-e396b7a038e458de37ced6b59e0d367883bc3b71.tar.bz2 magnolia-e396b7a038e458de37ced6b59e0d367883bc3b71.zip |
Scaladoc corrections
Diffstat (limited to 'examples/src/main/scala/show.scala')
-rw-r--r-- | examples/src/main/scala/show.scala | 4 |
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 |