We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 267f2fc commit 5b8e925Copy full SHA for 5b8e925
compat/src/main/scala-2.11/scala/util/Using.scala
@@ -403,7 +403,7 @@ object Using {
403
/** An implicit `Releasable` for [[scala.io.Source `Source`s]] which aren't [[java.lang.AutoCloseable `AutoCloseable`s]] in Scala 2.11. */
404
implicit object SourceReleasable extends Releasable[Source] {
405
def release(resource: Source): Unit = resource.close()
406
- }
+ }
407
}
408
409
compat/src/test/scala/scala/util/UsingTest.scala
@@ -765,7 +765,7 @@ class UsingTest {
765
Using(Source.fromString("Hello, Source!")) { source =>
766
// If this simply compiles, then mission accomplished.
767
768
769
770
771
object UsingTest {
0 commit comments