From e396b7a038e458de37ced6b59e0d367883bc3b71 Mon Sep 17 00:00:00 2001 From: Jon Pretty Date: Thu, 9 Nov 2017 09:24:18 +0000 Subject: Scaladoc corrections --- examples/src/main/scala/decode.scala | 2 +- examples/src/main/scala/show.scala | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/src/main/scala') diff --git a/examples/src/main/scala/decode.scala b/examples/src/main/scala/decode.scala index eca56d2..8603b9e 100644 --- a/examples/src/main/scala/decode.scala +++ b/examples/src/main/scala/decode.scala @@ -9,7 +9,7 @@ import scala.language.experimental.macros /** very basic decoder for converting strings to other types */ trait Decoder[T] { def decode(str: String): T } -/** derivation object (and companion object) for [[Derivation]] instances */ +/** derivation object (and companion object) for [[Decoder]] instances */ object Decoder { /** decodes strings */ 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 -- cgit v1.2.3