Skip to content

Commit 27d9088

Browse files
committed
Fix scaladoc of Scope#descendsFrom
1 parent f5dd3ca commit 27d9088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/shared/src/main/scala/fs2/internal/Scope.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ private[fs2] final class Scope[F[_]] private (
297297
go(self, Chain.empty)
298298
}
299299

300-
/** @returns true if the given `scopeId` identifies an ancestor of this scope, or false otherwise.
300+
/** @return true if the given `scopeId` identifies an ancestor of this scope, or false otherwise.
301301
*/
302302
def descendsFrom(scopeId: Unique.Token): Boolean = findSelfOrAncestor(scopeId).isDefined
303303

0 commit comments

Comments
 (0)