remove deprecations

This commit is contained in:
2021-10-04 16:09:01 +06:00
parent aa0e831cea
commit 50d41e35c1
3 changed files with 1 additions and 17 deletions

View File

@@ -1,5 +0,0 @@
package dev.inmo.micro_utils.common
@Deprecated("Redundant", ReplaceWith("coerceIn(min, max)"))
@Suppress("NOTHING_TO_INLINE")
inline fun <T : Comparable<T>> T.clamp(min: T, max: T): T = coerceIn(min, max)