Complete the code to create a new Rc pointer.
let value = Rc::[1](5);
Use Rc::new to create a new reference-counted pointer.
Complete the code to clone an existing Rc pointer.
let rc2 = [1](&rc1);Use Rc::clone to create a new pointer to the same data, increasing the reference count.
Fix the error in the code to get the strong count of an Rc pointer.
let count = Rc::[1](&rc1);The method strong_count returns how many Rc pointers share ownership.
Fill both blanks to create an Rc pointer and clone it.
let rc1 = Rc::[1](10); let rc2 = Rc::[2](&rc1);
First create a new Rc pointer with new, then clone it with clone.
Fill all three blanks to create an Rc pointer, clone it, and get the strong count.
let rc1 = Rc::[1](20); let rc2 = Rc::[2](&rc1); let count = Rc::[3](&rc1);
Create a new Rc pointer with new, clone it with clone, and get the count with strong_count.
