diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-10-21 18:26:10 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-10-21 18:26:10 +0200 |
commit | b8f2435e2db50c2053a9d880ab9573cb0bc2630e (patch) | |
tree | 55274c5b5e67191e32983559ffb8ea15c0c4df86 /src/Formats/FormatService.kt | |
parent | 8827d30048b9c50f47e62f69baf774363fdebc5d (diff) | |
download | dokka-b8f2435e2db50c2053a9d880ab9573cb0bc2630e.tar.gz dokka-b8f2435e2db50c2053a9d880ab9573cb0bc2630e.tar.bz2 dokka-b8f2435e2db50c2053a9d880ab9573cb0bc2630e.zip |
M15 code cleanup
Diffstat (limited to 'src/Formats/FormatService.kt')
-rw-r--r-- | src/Formats/FormatService.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Formats/FormatService.kt b/src/Formats/FormatService.kt index 642fad04..7e66a6b7 100644 --- a/src/Formats/FormatService.kt +++ b/src/Formats/FormatService.kt @@ -17,4 +17,4 @@ public interface FormatService { } /** Format content to [String] using specified [location] */ -fun FormatService.format(location: Location, nodes: Iterable<DocumentationNode>): String = kotlin.StringBuilder { appendNodes(location, this, nodes) }.toString() +fun FormatService.format(location: Location, nodes: Iterable<DocumentationNode>): String = StringBuilder().apply { appendNodes(location, this, nodes) }.toString() |