Skip to content

Commit

Permalink
further tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
GreemDev authored Sep 15, 2023
1 parent cd1e021 commit f13bf88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/topics/kotlinpoet.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ CodeBlock {

However, these builder functions are not always called builder; for example, the TypeSpec builder has different types
like `TypeSpec.classBuilder()` or `TypeSpec.interfaceBuilder()`.
In this DSL, these are a top-level factory function, with the name
of the builder type (the part of the function name before the `Builder` part).
In this DSL, these are top-level factory functions, with the name
of the builder type (the part of the function name before `Builder`).

```kotlin
TypeSpec.classBuilder("name")
Expand Down

0 comments on commit f13bf88

Please sign in to comment.