message: chore(types) Remove commented code.
diff: @@ -68,18 +68,7 @@ where
  }
  }
  - /// Creates a subarray view from this MemoryView.
  - // pub fn subarray(&self, range: impl RangeBounds<usize>) -> Self {
  - // let start: usize = match range.start_bound() {
  - // Bound::Unbounded => 0,
  - // Bound::Included(start) => *start,
  - // Bound::Excluded(start) => *start + 1,
  - // };
  - // let end: usize = match range.end_bound() {
  - // Bound::Unbounded => self.length,
  - // Bound::Included(end) => *end,
  - // Bound::Excluded(end) => *end - 1,
  - // };
  + /// Creates a subarray view from this `MemoryView`.
  pub fn subarray(&self, start: u32, end: u32) -> Self {
  assert!(
  (start as usize) < self.length,
  @@ -89,6 +78,7 @@ where
  (end as usize) < self.length,
  "The range end is bigger than current length"
  );
  +
  Self {
  ptr: unsafe { self.ptr.add(start as usize) },
  length: (end - start) as usize,
  