A

Admin • 833.24K Points
Coach

Q. What does the `Rc<T>` type in Rust provide?

  • (A) Mutable access to shared data
  • (B) Reference counting for shared ownership
  • (C) Unsafe access to data
  • (D) Asynchronous behavior
  • Correct Answer - Option(B)
  • Views: 33
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin

`Rc<T>` enables multiple ownership with reference counting.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.