Skip to content

Add FAQ for unused value of type cats.effect.IO[Unit] (add : Unit to discard silently) #3646

@armanbilge

Description

@armanbilge

This is the warning raised by the -Wnonunit-statement, at least on Scala 2 (someone should check Scala 3).

We should:

  1. document and recommend this very useful compiler option
  2. get the error into our docs, so it is indexed and searchable for when folks hit it

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions