mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-10-29 16:13:17 +00:00
remove deprecations
This commit is contained in:
1 parent
aa0e831cea
commit
50d41e35c1
3 files changed
+1
-17
No files matched your search
@@ -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)
|
||||
Reference in new issue
Block a user