Skip to content

Commit

Permalink
Really fix non-Unit value discard warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dhpiggott committed Jul 25, 2023
1 parent c26ba08 commit 993e673
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/core/src/smithy4s/http/UrlForm.scala
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ private[smithy4s] object UrlForm {

override def toPathedValues: Vector[FormData.PathedValue] = Vector.empty

override def writeTo(builder: mutable.StringBuilder): Unit =
builder.append(
override def writeTo(builder: mutable.StringBuilder): Unit = {
val _ = builder.append(
URLEncoder.encode(string, StandardCharsets.UTF_8.name())
); ()
)
}

}

Expand Down

0 comments on commit 993e673

Please sign in to comment.