Skip to content

Commit

Permalink
Update TODO with explanatory comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cberner committed Mar 21, 2024
1 parent e61493c commit cd19ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ impl<
pub struct Range<'a, K: Key + 'static, V: Value + 'static> {
inner: BtreeRangeIter<K, V>,
_transaction_guard: Arc<TransactionGuard>,
// TODO: replace with TransactionGuard?
// This lifetime is here so that `&` can be held on `Table` preventing concurrent mutation
_lifetime: PhantomData<&'a ()>,
}

Expand Down

0 comments on commit cd19ea1

Please sign in to comment.