From 8aaafe5da69030fa8161631df40e10ebf4fdb753 Mon Sep 17 00:00:00 2001 From: Lucas Satabin Date: Sun, 20 Oct 2024 15:24:08 +0200 Subject: [PATCH] Ignore deprecation warning --- text/shared/src/main/scala/fs2/data/text/CharLikeChunks.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/text/shared/src/main/scala/fs2/data/text/CharLikeChunks.scala b/text/shared/src/main/scala/fs2/data/text/CharLikeChunks.scala index 3394a9e4..74294a60 100644 --- a/text/shared/src/main/scala/fs2/data/text/CharLikeChunks.scala +++ b/text/shared/src/main/scala/fs2/data/text/CharLikeChunks.scala @@ -18,9 +18,10 @@ package fs2 package data package text -import scala.annotation.implicitNotFound +import org.typelevel.scalaccompat.annotation.* import java.nio.charset.Charset +import scala.annotation.implicitNotFound /** A typeclass witnessing that a stream of type `In` has chunks * that can be iterated over to get characters. @@ -74,6 +75,7 @@ trait CharLikeChunks[F[_], In] { } +@nowarn3("cat=deprecation") sealed trait AsCharBuffer[F[_], T] extends CharLikeChunks[F, T] { def mark(ctx: Context): Unit