docs: remove outdated comment in cursor::Walker (#10658)

This commit is contained in:
Péter Garamvölgyi
2024-09-02 17:32:50 +02:00
committed by GitHub
parent 212a6a0a31
commit 2c0170a03b

View File

@ -132,10 +132,6 @@ pub trait DbDupCursorRW<T: DupSort> {
}
/// 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<T>> {
/// Cursor to be used to walk through the table.
cursor: &'cursor mut CURSOR,