Automatic Lint

This commit is contained in:
Syer10
2022-09-25 23:15:07 +00:00
parent 92e70bf621
commit 12c4bfdfa4
8 changed files with 39 additions and 40 deletions

View File

@@ -18,9 +18,8 @@ fun String.chop(count: Int, replacement: String = "…"): String {
}
}
fun String.addSuffix(char: Char): String {
return if (endsWith(char)) {
this
} else this + char
}
}