Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ impl<'txn> CreateCursor<'txn> for Arc<WriteTransaction<'static>> {
/// well as `Rc` and `Arc`. The latter two require the transaction's inner
/// lifetime to be `'static`.
pub trait AssocCursor<'txn> {
/// Associates a saved read-only with this transaction.
/// Associates a saved read-only cursor with this transaction.
///
/// The cursor will be rebound to this transaction, but will continue using
/// the same database that it was previously.
Expand Down
2 changes: 1 addition & 1 deletion src/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ impl<'env> ReadTransaction<'env> {
Ok(cursor::to_stale(cursor, env))
}

/// Associates a saved read-only with this transaction.
/// Associates a saved read-only cursor with this transaction.
///
/// The cursor will be rebound to this transaction, but will continue using
/// the same database that it was previously.
Expand Down