diff --git a/CHANGELOG.md b/CHANGELOG.md index 5601b623..970fbdcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ backwards compatible with 1.x. To upgrade, consider using a pattern like that in * Remove lifetime from `WriteTransaction` and `ReadTransaction` * Remove `drain()` and `drain_filter()` from `Table` * impl `Clone` for `Range` +* Add support for `[T;N]` as a `Value` or `Key` as appropriate for the type `T` * Add `len()` and `is_empty()` to `MultimapValue` * Add `retain()` and `retain_in()` to `Table` * Add `extract_if()` and `extract_from_if()` to `Table` diff --git a/src/tree_store/btree_base.rs b/src/tree_store/btree_base.rs index c73d31a5..3ee241f2 100644 --- a/src/tree_store/btree_base.rs +++ b/src/tree_store/btree_base.rs @@ -143,7 +143,7 @@ pub struct AccessGuard<'a, V: Value> { len: usize, on_drop: OnDrop, _value_type: PhantomData, - // TODO: remove this? + // Used so that logical references into a Table respect the appropriate lifetime _lifetime: PhantomData<&'a ()>, } @@ -231,7 +231,7 @@ pub struct AccessGuardMut<'a, V: Value> { offset: usize, len: usize, _value_type: PhantomData, - // TODO: can this be removed? + // Used so that logical references into a Table respect the appropriate lifetime _lifetime: PhantomData<&'a ()>, }