Commit dad9c0b7 authored by Him188's avatar Him188

Fix docs

parent e3576fe5
......@@ -86,14 +86,12 @@ interface Message {
* ```kotlin
* val a = PlainText("Hello ")
* val b = PlainText("world!")
* val c:MessageChain = a + b
* println(c)// "Hello world!"
* ```
* val c: CombinedMessage = a + b
* println(c) // "Hello world!"
*
* ```kotlin
* val d = PlainText("world!")
* val e = c + d;//PlainText + MessageChain
* println(c)// "Hello world!"
* val e = c + d; // PlainText + CombinedMessage
* println(c) // "Hello world!"
* ```
*/
@JvmSynthetic // in java they should use `plus` instead
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment