Skip to content

Commit

Permalink
adjust FormattedDeferredText description
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldchickeme committed Feb 22, 2024
1 parent 6f76ded commit e324266
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ val deferredFormattedString: DeferredFormattedString = deferredFormattedPlurals.
val deferredPlurals: DeferredPlurals = deferredFormattedPlurals.withFormatArgs("million")
```
#### Auxiliary type(s)
`FormattedDeferredText` is a type that wraps a `DeferredFormattedString`. This is useful for when
the format arguments are determined at the declaration site rather than the resolution site.
`FormattedDeferredText` is a type that wraps a `DeferredFormattedString` and it's relevant
arguments. This is useful when the format arguments are determined at the declaration site rather
than the resolution site.

```kotlin
val formattedString = DeferredFormattedString.Constant("%s and %s")
Expand Down

0 comments on commit e324266

Please sign in to comment.