File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/shared/src/main/scala/fs2 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3827,11 +3827,11 @@ object Stream extends StreamLowPriority {
38273827 override def apply [A ](fa : Resource [F , A ]): Stream [F , A ] = resourceWeak[F , A ](fa)
38283828 }
38293829
3830- /** Converts the supplied [[java.lang.Autoclosable ]] into a singleton stream. */
3830+ /** Converts the supplied [[java.lang.AutoCloseable ]] into a singleton stream. */
38313831 def fromAutoCloseable [F [_]: Sync , O <: AutoCloseable ](fo : F [O ]): Stream [F , O ] =
38323832 Stream .resource(Resource .fromAutoCloseable(fo))
38333833
3834- /** Like [[fromAutoClosable ]] but does not introduce a scope, allowing finalization to occur after
3834+ /** Like [[fromAutoCloseable ]] but does not introduce a scope, allowing finalization to occur after
38353835 * subsequent appends or other scope-preserving transformations.
38363836 *
38373837 * Scopes can be manually introduced via [[Stream#scope ]] if desired.
You can’t perform that action at this time.
0 commit comments