1
2
3
4
5
6
7
use crate::Fragment;

impl<T> AsRef<[T]> for Fragment<T> {
    fn as_ref(&self) -> &[T] {
        &self.data
    }
}