Skip to content

Commit

Permalink
Remove unused type parameter from Parser.toJson
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas committed Feb 19, 2018
1 parent b650859 commit b07e109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/io.circe.config/parser.scala
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import com.typesafe.config._
*/
object parser extends Parser {

private[this] final def toJson[T](parseConfig: => Config): Either[ParsingFailure, Json] = {
private[this] final def toJson(parseConfig: => Config): Either[ParsingFailure, Json] = {
def convertValueUnsafe(value: ConfigValue): Json = value match {
case obj: ConfigObject =>
Json.fromFields(obj.asScala.mapValues(convertValueUnsafe))
Expand Down

0 comments on commit b07e109

Please sign in to comment.