3 ms·
Right, Rust references are never dangling. But there might end up being true weak references in the standard library, which would be more like a C++ weak pointe
by pcwalton 14y ago
Right, Rust references are never dangling. But there might end up being true weak references in the standard library, which would be more like a C++ weak pointer. (I'd take a patch for them if anyone needed them, though it's blocked on the GC landing.)