Skip to content

Commit

Permalink
Fix printer name
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstaeding committed Nov 15, 2023
1 parent 94cf092 commit 591fe28
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ interface KeyBuilder<T : Any> {
/**
* Sets the toStringer of the generated [Key].
*
* @param toStringer The toStringer to set or `null` to remove it
* @param printer The toStringer to set or `null` to remove it
* @return `this`
*/
@KeyBuilderDsl
fun printer(toStringer: ((T) -> String)?): KeyBuilder<T>
fun printer(printer: ((T) -> String)?): KeyBuilder<T>

/**
* Generates a [Key] based on this builder.
Expand Down

0 comments on commit 591fe28

Please sign in to comment.