scratch_test_value/utils/a_rc_string.rs
1#[cfg(not(feature = "thread-share"))]
2/// This type alias is – configured by a feature flag – either [std::rc::Rc] or [std::sync::Arc]
3pub type ARc<T> = std::rc::Rc<T>;
4
5#[cfg(feature = "thread-share")]
6/// This type alias is – configured by a feature flag – either [std::rc::Rc] or [std::sync::Arc]
7pub type ARc<T> = std::sync::Arc<T>;