We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b25c520 commit 1484661Copy full SHA for 1484661
src/libstd/cast.rs
@@ -64,6 +64,7 @@ pub unsafe fn forget<T>(thing: T) { intrinsics::forget(thing); }
64
* and/or reinterpret_cast when such calls would otherwise scramble a box's
65
* reference count
66
*/
67
+#[inline(always)]
68
pub unsafe fn bump_box_refcount<T>(t: @T) { forget(t); }
69
70
/**
0 commit comments