mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
docs: remove outdated comment in cursor::Walker (#10658)
This commit is contained in:
committed by
GitHub
parent
212a6a0a31
commit
2c0170a03b
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user