Fix Optional.asSequence docs
This commit is contained in:
committed by
Space Team
parent
3ac90cf0e4
commit
b8728c18cb
@@ -61,7 +61,6 @@ public fun <T : Any> Optional<out T>.toSet(): Set<T> =
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a new sequence for this [Optional]'s value if [present][Optional.isPresent], or otherwise an empty sequence.
|
* Returns a new sequence for this [Optional]'s value if [present][Optional.isPresent], or otherwise an empty sequence.
|
||||||
* The returned set is serializable (JVM).
|
|
||||||
*/
|
*/
|
||||||
@SinceKotlin("1.8")
|
@SinceKotlin("1.8")
|
||||||
@WasExperimental(ExperimentalStdlibApi::class)
|
@WasExperimental(ExperimentalStdlibApi::class)
|
||||||
|
|||||||
Reference in New Issue
Block a user