http_type/rc_rwlock/
func.rs

1use crate::*;
2
3pub fn rc_rwlock<T>(data: T) -> RcRwLock<T> {
4    Rc::new(RwLock::new(data))
5}