diff options
author | Goooler <wangzongler@gmail.com> | 2022-02-21 22:01:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 17:01:06 +0300 |
commit | f5b7797255576e5f1c230e2ca3fcb5f4e602387c (patch) | |
tree | 25fd98250066c4ed6c2fff1104be533604bbf1b9 /plugins/base/src/test/resources/linkable/samples | |
parent | df4780c31026aaa626746f49f0e6fa3fa0278a05 (diff) | |
download | dokka-f5b7797255576e5f1c230e2ca3fcb5f4e602387c.tar.gz dokka-f5b7797255576e5f1c230e2ca3fcb5f4e602387c.tar.bz2 dokka-f5b7797255576e5f1c230e2ca3fcb5f4e602387c.zip |
Code cleanups (#2165)
Diffstat (limited to 'plugins/base/src/test/resources/linkable/samples')
-rw-r--r-- | plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt | 2 | ||||
-rw-r--r-- | plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt b/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt index b61ce704..b4f66be9 100644 --- a/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt +++ b/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt @@ -5,5 +5,5 @@ class JsClass { /** * @sample samples.SamplesJs.exampleUsage */ - fun printWithExclamation(msg: String) = println(msg + "!") + fun printWithExclamation(msg: String) = println("$msg!") }
\ No newline at end of file diff --git a/plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt b/plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt index 960184e6..22d44152 100644 --- a/plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt +++ b/plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt @@ -5,5 +5,5 @@ class JvmClass { /** * @sample samples.SamplesJvm.exampleUsage */ - fun printWithExclamation(msg: String) = println(msg + "!") + fun printWithExclamation(msg: String) = println("$msg!") }
\ No newline at end of file |