mirai-core / net.mamoe.mirai.utils / java.lang.ref.WeakReference / unsafe

unsafe

fun <T> WeakRef<T>.unsafe(): UnsafeWeakRef<T>

Constructs an unsafe inline delegate for this