aboutsummaryrefslogtreecommitdiff
path: root/src/Formats/FormatService.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Formats/FormatService.kt')
-rw-r--r--src/Formats/FormatService.kt2
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()