Skip to content

Commit

Permalink
Restore package object
Browse files Browse the repository at this point in the history
Fixes #3293
  • Loading branch information
armanbilge committed Sep 11, 2023
1 parent 3a272ba commit a9566bd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions io/shared/src/main/scala/fs2/io/io.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,17 @@
*/

package fs2
package io

import cats.effect.kernel.Async
import cats.effect.kernel.Sync
import cats.effect.syntax.all._
import cats.syntax.all._
import org.typelevel.scalaccompat.annotation._

import java.io.{InputStream, OutputStream}

/** Provides various ways to work with streams that perform IO.
*/
@nowarn213("msg=package object inheritance is deprecated")
object `package` extends ioplatform {
package object io extends ioplatform {
type IOException = java.io.IOException

/** Reads all bytes from the specified `InputStream` with a buffer size of `chunkSize`.
Expand Down

0 comments on commit a9566bd

Please sign in to comment.