1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Simplify.

This commit is contained in:
Cedric Beust 2015-11-16 09:31:38 -08:00
parent c70ce4247d
commit b2dd509d4f

View file

@ -71,11 +71,9 @@ class DokkaConfig() {
@Directive @Directive
fun linkMapping(init: LinkMappingConfig.() -> Unit) { fun linkMapping(init: LinkMappingConfig.() -> Unit) {
let { project -> linkMapping = LinkMappingConfig().let {
linkMapping = LinkMappingConfig().let { it.init()
it.init() it
it
}
} }
} }
} }