I don't know why we need Rc

⚓ Rust    📅 2025-08-13    👤 surdeus    👁️ 15      

surdeus

Warning

This post was published 112 days ago. The information described in this article may have changed.

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: I don't know why we need Rc

See on godbolt : there are 2 instance.
Rc is more complicated than pure ref (&)

Example when I use 2 Rc with 1 ref and 5 ref

1 post - 1 participant

Read full topic

🏷️ Rust_feed