diff --git a/crates/storage/db-api/src/cursor.rs b/crates/storage/db-api/src/cursor.rs index bada512831..134819a8e2 100644 --- a/crates/storage/db-api/src/cursor.rs +++ b/crates/storage/db-api/src/cursor.rs @@ -132,10 +132,6 @@ pub trait DbDupCursorRW { } /// Provides an iterator to `Cursor` when handling `Table`. -/// -/// Reason why we have two lifetimes is to distinguish between `'cursor` lifetime -/// and inherited `'tx` lifetime. If there is only one, rust would short circle -/// the Cursor lifetime and it wouldn't be possible to use Walker. pub struct Walker<'cursor, T: Table, CURSOR: DbCursorRO> { /// Cursor to be used to walk through the table. cursor: &'cursor mut CURSOR,