clean up the `Rc` type and move it to libstd