mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-21 02:29:44 +02:00
Optimize and cleanup library code (#2329)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package mihon.core.common.utils
|
||||
|
||||
fun <T> Set<T>.mutate(action: (MutableSet<T>) -> Unit): Set<T> {
|
||||
return toMutableSet().apply(action)
|
||||
}
|
Reference in New Issue
Block a user