regularln

This commit is contained in:
InsanusMokrassar 2022-06-17 02:51:22 +06:00
parent 8081602a39
commit 8243acd69e
2 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,8 @@
## 2.0.3
* `Core`:
* New function `regularln` for simple creating of `RegularTextSource` with new line in the end
* `Versions`:
* `MicroUtils`: `0.11.0` -> `0.11.3`

View File

@ -18,3 +18,6 @@ data class RegularTextSource @RiskFeature(DirectInvocationOfTextSourceConstructo
@Suppress("NOTHING_TO_INLINE")
inline fun regular(text: String) = RegularTextSource(text)
@Suppress("NOTHING_TO_INLINE")
inline fun regularln(text: String) = regular("$text\n")