http_type/box_rwlock/
func.rs

1use crate::*;
2
3#[inline]
4pub fn box_rwlock<T>(data: T) -> BoxRwLock<T> {
5    Box::new(RwLock::new(data))
6}