diff --git a/src/traits.rs b/src/traits.rs index d2ae180..0858502 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -161,7 +161,7 @@ impl<'txn> CreateCursor<'txn> for Arc> { /// 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. diff --git a/src/tx.rs b/src/tx.rs index 5fb6144..beca6ed 100644 --- a/src/tx.rs +++ b/src/tx.rs @@ -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.