From 0e2685a44358d17c8d8489ac437d535f1fa71590 Mon Sep 17 00:00:00 2001 From: DrMeepster <19316085+DrMeepster@users.noreply.github.com> Date: Tue, 22 Feb 2022 12:47:11 -0800 Subject: [PATCH] update changelog --- crates/cust/CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/crates/cust/CHANGELOG.md b/crates/cust/CHANGELOG.md index 259896c..53c53b9 100644 --- a/crates/cust/CHANGELOG.md +++ b/crates/cust/CHANGELOG.md @@ -2,6 +2,17 @@ Notable changes to this project will be documented in this file. +## Unreleased + +- `DeviceSlice` is represented as a slice again, but as `[()]` instead of `[T]`. +- Reimplemented `Index` and `IndexMut` for `DeviceSlice` and removed `DeviceSlice::index`. +- Methods that returned `DeviceSlice` by value now return references: + - `DeviceSlice::from_raw_parts` + - `DeviceSlice::from_raw_parts_mut` + - `DeviceSliceIndex::index` + - `DeviceSliceIndex::get_unchecked` +- Added `DeviceSliceIndex::index_mut` and `DeviceSliceIndex::get_unchecked_mut`. + ## 0.3.1 - 2/11/22 No changes, updated to cust_derive 0.2 to fix a bug.