A

Admin • 833.24K Points
Coach

Q. Which type provides runtime-checked borrowing in Rust?

  • (A) Rc<T>
  • (B) RefCell<T>
  • (C) Box<T>
  • (D) Arc<T>
  • Correct Answer - Option(B)
  • Views: 32
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin

`RefCell<T>` allows mutable and immutable borrows at runtime.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.