use std::sync::Arc;
pub trait ArcExt<T> {
/// Always clones the inner value of the [`Arc`] and returns it
fn clone_and_unwrap(this: Arc<T>) -> T
where
T: Clone;
}
impl<T> ArcExt<T> for Arc<T> {
fn clone_and_unwrap(this: Arc<T>) -> T
where
T: Clone,
{
(*this).clone()
}
}