minivec 0.4.0

A version of Vec that's only the size of a single pointer
Documentation
use crate::MiniVec;

impl<T> core::borrow::Borrow<[T]> for MiniVec<T> {
  fn borrow(&self) -> &[T] {
    &(self[..])
  }
}

impl<T> core::borrow::BorrowMut<[T]> for MiniVec<T> {
  fn borrow_mut(&mut self) -> &mut [T] {
    &mut (self[..])
  }
}