Skip to content

Commit 4af6136

Browse files
committed
Fix formatting/wrapping of dokka comments.
1 parent 61daeeb commit 4af6136

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

core/commonMain/src/kotlinx/serialization/modules/PolymorphicModuleBuilder.kt

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,13 @@ public class PolymorphicModuleBuilder<in Base : Any> @PublishedApi internal cons
2626

2727

2828
/**
29-
* Registers the child serializers for the sealed type [T] in the resulting module under
30-
* the [base class][Base]. Please note that type `T` has to be sealed and have a standard serializer, if not a runtime error will
31-
* be thrown at registration time. If one of [T]'s subclasses is a sealed serializable class on
32-
* its own, its subclasses are registered recursively as well. If one of [T]'s subclasses is an
33-
* open polymorphic class an [IllegalArgumentException] is thrown.
34-
*
35-
* This function is a convenience function for the version that
36-
* receives a serializer.
29+
* Registers the child serializers for the sealed type [T] in the resulting module under the [base class][Base].
30+
* Please note that type `T` has to be sealed and have a standard serializer, if not a runtime error will be
31+
* thrown at registration time. If one of [T]'s subclasses is a sealed serializable class on its own, its
32+
* subclasses are registered recursively as well. If one of [T]'s subclasses is an open polymorphic class
33+
* an [IllegalArgumentException] is thrown.
3734
*
35+
* This function is a convenience function for the version that receives a serializer.
3836
*
3937
* Example:
4038
* ```
@@ -59,11 +57,11 @@ public class PolymorphicModuleBuilder<in Base : Any> @PublishedApi internal cons
5957

6058

6159
/**
62-
* Registers the child serializers for the sealed type [T] in the resulting module under
63-
* the [base class][Base]. Please note that type `T` has to be sealed and have a standard serializer, if not a runtime error will
64-
* be thrown at registration time. If one of [T]'s subclasses is a sealed serializable class on
65-
* its own, its subclasses are registered recursively as well. If one of [T]'s subclasses is an
66-
* open polymorphic class an [IllegalArgumentException] is thrown.
60+
* Registers the child serializers for the sealed type [T] in the resulting module under the [base class][Base].
61+
* Please note that type `T` has to be sealed and have a standard serializer, if not a runtime error will be
62+
* thrown at registration time. If one of [T]'s subclasses is a sealed serializable class on its own, its
63+
* subclasses are registered recursively as well. If one of [T]'s subclasses is an open polymorphic class
64+
* an [IllegalArgumentException] is thrown.
6765
*
6866
* Example:
6967
* ```kotlin

0 commit comments

Comments
 (0)