mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-19 06:18:56 +08:00
Add since
and note
for all deprecation tags.
This commit is contained in:
@@ -2,7 +2,7 @@ use std::ops::Deref;
|
||||
use {Result, Connection};
|
||||
|
||||
/// Old name for `TransactionBehavior`. `SqliteTransactionBehavior` is deprecated.
|
||||
#[deprecated]
|
||||
#[deprecated(since = "0.6.0", note = "Use TransactionBehavior instead")]
|
||||
pub type SqliteTransactionBehavior = TransactionBehavior;
|
||||
|
||||
/// Options for transaction behavior. See [BEGIN
|
||||
@@ -29,7 +29,7 @@ pub enum DropBehavior {
|
||||
}
|
||||
|
||||
/// Old name for `Transaction`. `SqliteTransaction` is deprecated.
|
||||
#[deprecated]
|
||||
#[deprecated(since = "0.6.0", note = "Use Transaction instead")]
|
||||
pub type SqliteTransaction<'conn> = Transaction<'conn>;
|
||||
|
||||
/// Represents a transaction on a database connection.
|
||||
|
Reference in New Issue
Block a user