1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 00:38:11 -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,13 +71,11 @@ 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
} }
} }
}
} }
class LinkMappingConfig { class LinkMappingConfig {